pub struct SecurityMarks {
pub canonical_name: Option<String>,
pub marks: Option<HashMap<String, String>>,
pub name: Option<String>,
}Expand description
User specified security marks that are attached to the parent Security Command Center resource. Security marks are scoped within a Security Command Center organization – they can be modified and viewed by all users who have proper permissions on the organization.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- assets update security marks folders (request|response)
- sources findings update security marks folders (request|response)
- assets update security marks organizations (request|response)
- sources findings update security marks organizations (request|response)
- assets update security marks projects (request|response)
- sources findings update security marks projects (request|response)
Fields§
§canonical_name: Option<String>The canonical name of the marks. Examples: “organizations/{organization_id}/assets/{asset_id}/securityMarks” “folders/{folder_id}/assets/{asset_id}/securityMarks” “projects/{project_number}/assets/{asset_id}/securityMarks” “organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks” “folders/{folder_id}/sources/{source_id}/findings/{finding_id}/securityMarks” “projects/{project_number}/sources/{source_id}/findings/{finding_id}/securityMarks”
marks: Option<HashMap<String, String>>Mutable user specified security marks belonging to the parent resource. Constraints are as follows: * Keys and values are treated as case insensitive * Keys must be between 1 - 256 characters (inclusive) * Keys must be letters, numbers, underscores, or dashes * Values have leading and trailing whitespace trimmed, remaining characters must be between 1 - 4096 characters (inclusive)
name: Option<String>The relative resource name of the SecurityMarks. See: https://cloud.google.com/apis/design/resource_names#relative_resource_name Examples: “organizations/{organization_id}/assets/{asset_id}/securityMarks” “organizations/{organization_id}/sources/{source_id}/findings/{finding_id}/securityMarks”.
Trait Implementations§
Source§impl Clone for SecurityMarks
impl Clone for SecurityMarks
Source§fn clone(&self) -> SecurityMarks
fn clone(&self) -> SecurityMarks
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more