# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/websecurityscanner_v1beta/proto/finding.proto

import sys

_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1"))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database

# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from google.cloud.websecurityscanner_v1beta.proto import (
    finding_addon_pb2 as google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2,
)


DESCRIPTOR = _descriptor.FileDescriptor(
    name="google/cloud/websecurityscanner_v1beta/proto/finding.proto",
    package="google.cloud.websecurityscanner.v1beta",
    syntax="proto3",
    serialized_options=_b(
        "\n*com.google.cloud.websecurityscanner.v1betaB\014FindingProtoP\001ZXgoogle.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner\312\002&Google\\Cloud\\WebSecurityScanner\\V1beta"
    ),
    serialized_pb=_b(
        '\n:google/cloud/websecurityscanner_v1beta/proto/finding.proto\x12&google.cloud.websecurityscanner.v1beta\x1a\x1cgoogle/api/annotations.proto\x1a@google/cloud/websecurityscanner_v1beta/proto/finding_addon.proto"\xa2\x05\n\x07\x46inding\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0c\x66inding_type\x18\x02 \x01(\t\x12\x13\n\x0bhttp_method\x18\x03 \x01(\t\x12\x12\n\nfuzzed_url\x18\x04 \x01(\t\x12\x0c\n\x04\x62ody\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x18\n\x10reproduction_url\x18\x07 \x01(\t\x12\x11\n\tframe_url\x18\x08 \x01(\t\x12\x11\n\tfinal_url\x18\t \x01(\t\x12\x13\n\x0btracking_id\x18\n \x01(\t\x12:\n\x04\x66orm\x18\x10 \x01(\x0b\x32,.google.cloud.websecurityscanner.v1beta.Form\x12Q\n\x10outdated_library\x18\x0b \x01(\x0b\x32\x37.google.cloud.websecurityscanner.v1beta.OutdatedLibrary\x12U\n\x12violating_resource\x18\x0c \x01(\x0b\x32\x39.google.cloud.websecurityscanner.v1beta.ViolatingResource\x12U\n\x12vulnerable_headers\x18\x0f \x01(\x0b\x32\x39.google.cloud.websecurityscanner.v1beta.VulnerableHeaders\x12[\n\x15vulnerable_parameters\x18\r \x01(\x0b\x32<.google.cloud.websecurityscanner.v1beta.VulnerableParameters\x12\x38\n\x03xss\x18\x0e \x01(\x0b\x32+.google.cloud.websecurityscanner.v1beta.XssB\xbf\x01\n*com.google.cloud.websecurityscanner.v1betaB\x0c\x46indingProtoP\x01ZXgoogle.golang.org/genproto/googleapis/cloud/websecurityscanner/v1beta;websecurityscanner\xca\x02&Google\\Cloud\\WebSecurityScanner\\V1betab\x06proto3'
    ),
    dependencies=[
        google_dot_api_dot_annotations__pb2.DESCRIPTOR,
        google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2.DESCRIPTOR,
    ],
)


_FINDING = _descriptor.Descriptor(
    name="Finding",
    full_name="google.cloud.websecurityscanner.v1beta.Finding",
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
        _descriptor.FieldDescriptor(
            name="name",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.name",
            index=0,
            number=1,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="finding_type",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.finding_type",
            index=1,
            number=2,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="http_method",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.http_method",
            index=2,
            number=3,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="fuzzed_url",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.fuzzed_url",
            index=3,
            number=4,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="body",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.body",
            index=4,
            number=5,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="description",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.description",
            index=5,
            number=6,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="reproduction_url",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.reproduction_url",
            index=6,
            number=7,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="frame_url",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.frame_url",
            index=7,
            number=8,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="final_url",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.final_url",
            index=8,
            number=9,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="tracking_id",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.tracking_id",
            index=9,
            number=10,
            type=9,
            cpp_type=9,
            label=1,
            has_default_value=False,
            default_value=_b("").decode("utf-8"),
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="form",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.form",
            index=10,
            number=16,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="outdated_library",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.outdated_library",
            index=11,
            number=11,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="violating_resource",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.violating_resource",
            index=12,
            number=12,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="vulnerable_headers",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.vulnerable_headers",
            index=13,
            number=15,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="vulnerable_parameters",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.vulnerable_parameters",
            index=14,
            number=13,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
        _descriptor.FieldDescriptor(
            name="xss",
            full_name="google.cloud.websecurityscanner.v1beta.Finding.xss",
            index=15,
            number=14,
            type=11,
            cpp_type=10,
            label=1,
            has_default_value=False,
            default_value=None,
            message_type=None,
            enum_type=None,
            containing_type=None,
            is_extension=False,
            extension_scope=None,
            serialized_options=None,
            file=DESCRIPTOR,
        ),
    ],
    extensions=[],
    nested_types=[],
    enum_types=[],
    serialized_options=None,
    is_extendable=False,
    syntax="proto3",
    extension_ranges=[],
    oneofs=[],
    serialized_start=199,
    serialized_end=873,
)

_FINDING.fields_by_name[
    "form"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._FORM
)
_FINDING.fields_by_name[
    "outdated_library"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._OUTDATEDLIBRARY
)
_FINDING.fields_by_name[
    "violating_resource"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._VIOLATINGRESOURCE
)
_FINDING.fields_by_name[
    "vulnerable_headers"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._VULNERABLEHEADERS
)
_FINDING.fields_by_name[
    "vulnerable_parameters"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._VULNERABLEPARAMETERS
)
_FINDING.fields_by_name[
    "xss"
].message_type = (
    google_dot_cloud_dot_websecurityscanner__v1beta_dot_proto_dot_finding__addon__pb2._XSS
)
DESCRIPTOR.message_types_by_name["Finding"] = _FINDING
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Finding = _reflection.GeneratedProtocolMessageType(
    "Finding",
    (_message.Message,),
    dict(
        DESCRIPTOR=_FINDING,
        __module__="google.cloud.websecurityscanner_v1beta.proto.finding_pb2",
        __doc__="""A Finding resource represents a vulnerability instance identified during
  a ScanRun.
  
  
  Attributes:
      name:
          Output only. The resource name of the Finding. The name
          follows the format of 'projects/{projectId}/scanConfigs/{scanC
          onfigId}/scanruns/{scanRunId}/findings/{findingId}'. The
          finding IDs are generated by the system.
      finding_type:
          Output only. The type of the Finding. Detailed and up-to-date
          information on findings can be found here:
          https://cloud.google.com/security-scanner/docs/scan-result-
          details
      http_method:
          Output only. The http method of the request that triggered the
          vulnerability, in uppercase.
      fuzzed_url:
          Output only. The URL produced by the server-side fuzzer and
          used in the request that triggered the vulnerability.
      body:
          Output only. The body of the request that triggered the
          vulnerability.
      description:
          Output only. The description of the vulnerability.
      reproduction_url:
          Output only. The URL containing human-readable payload that
          user can leverage to reproduce the vulnerability.
      frame_url:
          Output only. If the vulnerability was originated from nested
          IFrame, the immediate parent IFrame is reported.
      final_url:
          Output only. The URL where the browser lands when the
          vulnerability is detected.
      tracking_id:
          Output only. The tracking ID uniquely identifies a
          vulnerability instance across multiple ScanRuns.
      form:
          Output only. An addon containing information reported for a
          vulnerability with an HTML form, if any.
      outdated_library:
          Output only. An addon containing information about outdated
          libraries.
      violating_resource:
          Output only. An addon containing detailed information
          regarding any resource causing the vulnerability such as
          JavaScript sources, image, audio files, etc.
      vulnerable_headers:
          Output only. An addon containing information about vulnerable
          or missing HTTP headers.
      vulnerable_parameters:
          Output only. An addon containing information about request
          parameters which were found to be vulnerable.
      xss:
          Output only. An addon containing information reported for an
          XSS, if any.
  """,
        # @@protoc_insertion_point(class_scope:google.cloud.websecurityscanner.v1beta.Finding)
    ),
)
_sym_db.RegisterMessage(Finding)


DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
