# Web Security Scanner V1 API - Class Google::Cloud::WebSecurityScanner::V1::Finding (v1.6.0)

1.6.0 (latest) 1.5.1 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.1 0.3.5 Reference documentation and code samples for the Web Security Scanner V1 API class Google::Cloud::WebSecurityScanner::V1::Finding.

A Finding resource represents a vulnerability instance identified during a
ScanRun.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #body

    def body() -> ::String

**Returns**

- (::String) --- Output only. The body of the request that triggered the vulnerability.

### #body=

    def body=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The body of the request that triggered the vulnerability.
**Returns**

- (::String) --- Output only. The body of the request that triggered the vulnerability.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Output only. The description of the vulnerability.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The description of the vulnerability.
**Returns**

- (::String) --- Output only. The description of the vulnerability.

### #final_url

    def final_url() -> ::String

**Returns**

- (::String) --- Output only. The URL where the browser lands when the vulnerability is detected.

### #final_url=

    def final_url=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The URL where the browser lands when the vulnerability is detected.
**Returns**

- (::String) --- Output only. The URL where the browser lands when the vulnerability is detected.

### #finding_type

    def finding_type() -> ::String

**Returns**

- (::String) --- Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings

### #finding_type=

    def finding_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
**Returns**

- (::String) --- Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings

### #form

    def form() -> ::Google::Cloud::WebSecurityScanner::V1::Form

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Form](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Form)) --- Output only. An addon containing information reported for a vulnerability with an HTML form, if any.

### #form=

    def form=(value) -> ::Google::Cloud::WebSecurityScanner::V1::Form

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::Form](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Form)) --- Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Form](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Form)) --- Output only. An addon containing information reported for a vulnerability with an HTML form, if any.

### #frame_url

    def frame_url() -> ::String

**Returns**

- (::String) --- Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.

### #frame_url=

    def frame_url=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
**Returns**

- (::String) --- Output only. If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.

### #fuzzed_url

    def fuzzed_url() -> ::String

**Returns**

- (::String) --- Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.

### #fuzzed_url=

    def fuzzed_url=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
**Returns**

- (::String) --- Output only. The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.

### #http_method

    def http_method() -> ::String

**Returns**

- (::String) --- Output only. The http method of the request that triggered the vulnerability, in uppercase.

### #http_method=

    def http_method=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The http method of the request that triggered the vulnerability, in uppercase.
**Returns**

- (::String) --- Output only. The http method of the request that triggered the vulnerability, in uppercase.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
**Returns**

- (::String) --- Output only. The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.

### #outdated_library

    def outdated_library() -> ::Google::Cloud::WebSecurityScanner::V1::OutdatedLibrary

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::OutdatedLibrary](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-OutdatedLibrary)) --- Output only. An addon containing information about outdated libraries.

### #outdated_library=

    def outdated_library=(value) -> ::Google::Cloud::WebSecurityScanner::V1::OutdatedLibrary

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::OutdatedLibrary](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-OutdatedLibrary)) --- Output only. An addon containing information about outdated libraries.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::OutdatedLibrary](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-OutdatedLibrary)) --- Output only. An addon containing information about outdated libraries.

### #reproduction_url

    def reproduction_url() -> ::String

**Returns**

- (::String) --- Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.

### #reproduction_url=

    def reproduction_url=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
**Returns**

- (::String) --- Output only. The URL containing human-readable payload that user can leverage to reproduce the vulnerability.

### #severity

    def severity() -> ::Google::Cloud::WebSecurityScanner::V1::Finding::Severity

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Finding::Severity](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Finding-Severity)) --- Output only. The severity level of the reported vulnerability.

### #tracking_id

    def tracking_id() -> ::String

**Returns**

- (::String) --- Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.

### #tracking_id=

    def tracking_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
**Returns**

- (::String) --- Output only. The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.

### #violating_resource

    def violating_resource() -> ::Google::Cloud::WebSecurityScanner::V1::ViolatingResource

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ViolatingResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ViolatingResource)) --- Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.

### #violating_resource=

    def violating_resource=(value) -> ::Google::Cloud::WebSecurityScanner::V1::ViolatingResource

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::ViolatingResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ViolatingResource)) --- Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::ViolatingResource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-ViolatingResource)) --- Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.

### #vulnerable_headers

    def vulnerable_headers() -> ::Google::Cloud::WebSecurityScanner::V1::VulnerableHeaders

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::VulnerableHeaders](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableHeaders)) --- Output only. An addon containing information about vulnerable or missing HTTP headers.

### #vulnerable_headers=

    def vulnerable_headers=(value) -> ::Google::Cloud::WebSecurityScanner::V1::VulnerableHeaders

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::VulnerableHeaders](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableHeaders)) --- Output only. An addon containing information about vulnerable or missing HTTP headers.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::VulnerableHeaders](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableHeaders)) --- Output only. An addon containing information about vulnerable or missing HTTP headers.

### #vulnerable_parameters

    def vulnerable_parameters() -> ::Google::Cloud::WebSecurityScanner::V1::VulnerableParameters

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::VulnerableParameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableParameters)) --- Output only. An addon containing information about request parameters which were found to be vulnerable.

### #vulnerable_parameters=

    def vulnerable_parameters=(value) -> ::Google::Cloud::WebSecurityScanner::V1::VulnerableParameters

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::VulnerableParameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableParameters)) --- Output only. An addon containing information about request parameters which were found to be vulnerable.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::VulnerableParameters](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-VulnerableParameters)) --- Output only. An addon containing information about request parameters which were found to be vulnerable.

### #xss

    def xss() -> ::Google::Cloud::WebSecurityScanner::V1::Xss

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Xss](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Xss)) --- Output only. An addon containing information reported for an XSS, if any.

### #xss=

    def xss=(value) -> ::Google::Cloud::WebSecurityScanner::V1::Xss

**Parameter**

- **value** ([::Google::Cloud::WebSecurityScanner::V1::Xss](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Xss)) --- Output only. An addon containing information reported for an XSS, if any.
**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Xss](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Xss)) --- Output only. An addon containing information reported for an XSS, if any.

### #xxe

    def xxe() -> ::Google::Cloud::WebSecurityScanner::V1::Xxe

**Returns**

- ([::Google::Cloud::WebSecurityScanner::V1::Xxe](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_security_scanner-v1/latest/Google-Cloud-WebSecurityScanner-V1-Xxe)) --- Output only. An addon containing information reported for an XXE, if any.