View Source GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2SecurityPosture (google_api_security_center v0.29.0)

Represents a posture that is deployed on Google Cloud by the Security Command Center Posture Management service. A posture contains one or more policy sets. A policy set is a group of policies that enforce a set of security rules on Google Cloud.

Attributes

  • changedPolicy (type: String.t, default: nil) - The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.
  • name (type: String.t, default: nil) - Name of the posture, for example, CIS-Posture.
  • policy (type: String.t, default: nil) - The ID of the updated policy, for example, compute-policy-1.
  • policyDriftDetails (type: list(GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2PolicyDriftDetails.t), default: nil) - The details about a change in an updated policy that violates the deployed posture.
  • policySet (type: String.t, default: nil) - The name of the updated policy set, for example, cis-policyset.
  • postureDeployment (type: String.t, default: nil) - The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.
  • postureDeploymentResource (type: String.t, default: nil) - The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.
  • revisionId (type: String.t, default: nil) - The version of the posture, for example, c7cfa2a8.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2SecurityPosture{
    changedPolicy: String.t() | nil,
    name: String.t() | nil,
    policy: String.t() | nil,
    policyDriftDetails:
      [
        GoogleApi.SecurityCenter.V1.Model.GoogleCloudSecuritycenterV2PolicyDriftDetails.t()
      ]
      | nil,
    policySet: String.t() | nil,
    postureDeployment: String.t() | nil,
    postureDeploymentResource: String.t() | nil,
    revisionId: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.