Reference documentation and code samples for the Security Command Center Management V1 API class Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding.
The minimum set of fields needed to represent a simulated finding from a Security Health Analytics custom module.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#category
def category() -> ::String
-
(::String) — The additional taxonomy group within findings from a given source. For
example,
XSS_FLASH_INJECTION
. This field is immutable after creation time.
#category=
def category=(value) -> ::String
-
value (::String) — The additional taxonomy group within findings from a given source. For
example,
XSS_FLASH_INJECTION
. This field is immutable after creation time.
-
(::String) — The additional taxonomy group within findings from a given source. For
example,
XSS_FLASH_INJECTION
. This field is immutable after creation time.
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
-
(::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.
#event_time=
def event_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::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.
-
(::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.
#finding_class
def finding_class() -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::FindingClass
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::FindingClass) — The class of the finding.
#finding_class=
def finding_class=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::FindingClass
- value (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::FindingClass) — The class of the finding.
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::FindingClass) — The class of the finding.
#name
def name() -> ::String
-
(::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}
#name=
def name=(value) -> ::String
-
value (::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}
-
(::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
def parent() -> ::String
-
(::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.
#parent=
def parent=(value) -> ::String
-
value (::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.
-
(::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
def resource_name() -> ::String
- (::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.
#resource_name=
def resource_name=(value) -> ::String
- value (::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.
- (::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.
#severity
def severity() -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::Severity
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::Severity) — The severity of the finding. This field is managed by the source that writes the finding.
#severity=
def severity=(value) -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::Severity
- value (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::Severity) — The severity of the finding. This field is managed by the source that writes the finding.
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::Severity) — The severity of the finding. This field is managed by the source that writes the finding.
#source_properties
def source_properties() -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
- (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — 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.
#source_properties=
def source_properties=(value) -> ::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}
- value (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — 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.
- (::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}) — 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.
#state
def state() -> ::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::State
- (::Google::Cloud::SecurityCenterManagement::V1::SimulatedFinding::State) — Output only. The state of the finding.