Resource: Finding
Represents a security Finding.
| JSON representation |
|---|
{ "name": string, "uid": string, "createTime": string, "updateTime": string, "severity": enum ( |
| Fields | |
|---|---|
name |
Identifier. Resource name of the Finding. Format: |
uid |
Output only. Universally unique identifier (UUID4) for the Finding. |
createTime |
Output only. Create time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. Update time. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
severity |
Optional. Severity of the finding. |
findingClass |
Optional. Class of the finding. |
files[] |
Optional. File associated with the finding. |
detail |
Optional. Detailed description of the finding. |
resource |
Optional. The resource that the finding is associated with. |
Severity
The severity of the finding.
| Enums | |
|---|---|
SEVERITY_UNSPECIFIED |
This value is used for findings when a source doesn't write a severity value. |
SEVERITY_CRITICAL |
Critical severity. |
SEVERITY_HIGH |
High severity. |
SEVERITY_MEDIUM |
Medium severity. |
SEVERITY_LOW |
Low severity. |
FindingClass
Represents what kind of Finding it is. For more information on finding classes, see https://cloud.google.com/security-command-center/docs/concepts-vulnerabilities-findings#classes.
| Enums | |
|---|---|
FINDING_CLASS_UNSPECIFIED |
Unspecified finding class. |
VULNERABILITY |
Describes a potential weakness in software that increases risk to Confidentiality & Integrity & Availability. |
SECRET |
Describes a potential security risk due to plaintext credentials, keys, or tokens being exposed in an asset or workload. |
File
File location of the finding.
| JSON representation |
|---|
{ "path": string, "lineNumber": string } |
| Fields | |
|---|---|
path |
Optional. Relative path of the file containing the finding. |
lineNumber |
Optional. Line number (1-based), or 0 if whole File / unknown. |
Methods |
|
|---|---|
|
Gets details of a single Finding. |
|
Lists Findings in a given project and location. |