Reference documentation and code samples for the Google Cloud Security Center Management V1 Client class SimulatedFinding.
The minimum set of fields needed to represent a simulated finding from a Security Health Analytics custom module.
Generated from protobuf message google.cloud.securitycentermanagement.v1.SimulatedFinding
Namespace
Google \ Cloud \ SecurityCenterManagement \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The relative resource name
of the finding, in one of the following formats: * * organizations/{organization_id}/sources/{source_id}/findings/{finding_id}
* * folders/{folder_id}/sources/{source_id}/findings/{finding_id}
* * projects/{project_id}/sources/{source_id}/findings/{finding_id}
↳ parent
string
The relative resource name
of the source the finding belongs to. For example, organizations/{organization_id}/sources/{source_id}
. This field is immutable after creation time.
↳ resource_name
string
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. When the finding is for a non-Google Cloud resource, the value can be a customer or partner defined string. This field is immutable after creation time.
↳ category
string
The additional taxonomy group within findings from a given source. For example, XSS_FLASH_INJECTION
. This field is immutable after creation time.
↳ state
int
Output only. The state of the finding.
↳ source_properties
array| Google\Protobuf\Internal\MapField
Source-specific properties. These properties are managed by the source that writes the finding. The key names must be between 1 and 255 characters; they must start with a letter and contain alphanumeric characters or underscores only.
↳ event_time
Google\Protobuf\Timestamp
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. If the finding is later resolved, then this time reflects when the finding was resolved. For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. The event time must not be set to a value greater than the current timestamp.
↳ severity
int
The severity of the finding. This field is managed by the source that writes the finding.
↳ finding_class
int
The class of the finding.
getName
Identifier. The relative resource name of the finding, in one of the following formats:
-
organizations/{organization_id}/sources/{source_id}/findings/{finding_id} -
folders/{folder_id}/sources/{source_id}/findings/{finding_id} -
projects/{project_id}/sources/{source_id}/findings/{finding_id}
string
setName
Identifier. The relative resource name of the finding, in one of the following formats:
-
organizations/{organization_id}/sources/{source_id}/findings/{finding_id} -
folders/{folder_id}/sources/{source_id}/findings/{finding_id} -
projects/{project_id}/sources/{source_id}/findings/{finding_id}
var
string
$this
getParent
The relative resource name
of the source the
finding belongs to. For example, organizations/{organization_id}/sources/{source_id}
. This field is
immutable after creation time.
string
setParent
The relative resource name
of the source the
finding belongs to. For example, organizations/{organization_id}/sources/{source_id}
. This field is
immutable after creation time.
var
string
$this
getResourceName
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. When the finding is for a non-Google Cloud resource, the value can be a customer or partner defined string. This field is immutable after creation time.
string
setResourceName
For findings on Google Cloud resources, the full resource name of the Google Cloud resource this finding is for. When the finding is for a non-Google Cloud resource, the value can be a customer or partner defined string. This field is immutable after creation time.
var
string
$this
getCategory
The additional taxonomy group within findings from a given source. For
example, XSS_FLASH_INJECTION
. This field is immutable after creation
time.
string
setCategory
The additional taxonomy group within findings from a given source. For
example, XSS_FLASH_INJECTION
. This field is immutable after creation
time.
var
string
$this
getState
Output only. The state of the finding.
setState
Output only. The state of the finding.
$this
getSourceProperties
Source-specific properties. These properties are managed by the source that writes the finding. The key names must be between 1 and 255 characters; they must start with a letter and contain alphanumeric characters or underscores only.
setSourceProperties
Source-specific properties. These properties are managed by the source that writes the finding. The key names must be between 1 and 255 characters; they must start with a letter and contain alphanumeric characters or underscores only.
$this
getEventTime
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. If the finding is later resolved, then this time reflects when the finding was resolved.
For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. The event time must not be set to a value greater than the current timestamp.
hasEventTime
clearEventTime
setEventTime
The time the finding was first detected. If an existing finding is updated, then this is the time the update occurred. If the finding is later resolved, then this time reflects when the finding was resolved.
For example, if the finding represents an open firewall, this property captures the time the detector believes the firewall became open. The accuracy is determined by the detector. The event time must not be set to a value greater than the current timestamp.
$this
getSeverity
The severity of the finding. This field is managed by the source that writes the finding.
setSeverity
The severity of the finding. This field is managed by the source that writes the finding.
$this
getFindingClass
The class of the finding.
setFindingClass
The class of the finding.
$this

