SecurityPosture
import { SecurityPosture } from "https://googleapis.deno.dev/v1/securityposture:v1.ts";
Defines, assesses, and monitors the overall status of your security in Google Cloud. You can use security postures to evaluate your current cloud security against defined benchmarks and help maintain the level of security that your organization requires.
§Methods
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1
, corresponding
to Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Creates a new PostureDeployment in a given project and location.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Deletes a PostureDeployment.
Required. The name of the posture deployment, in the format organizations/{organization}/locations/global/postureDeployments/{posture_id}
.
Gets details for a PostureDeployment.
Required. The name of the PostureDeployment, in the format organizations/{organization}/locations/global/postureDeployments/{posture_deployment_id}
.
Lists every PostureDeployment in a project and location.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Updates an existing PostureDeployment. To prevent concurrent updates from
overwriting each other, always follow the read-modify-write pattern when
you update a posture deployment: 1. Call GetPostureDeployment to get the
current version of the deployment. 2. Update the fields in the deployment
as needed. 3. Call UpdatePostureDeployment to update the deployment. Ensure
that your request includes the etag
value from the GetPostureDeployment
response. Important: If you omit the etag
when you call
UpdatePostureDeployment, then the updated deployment unconditionally
overwrites the existing deployment.
Required. Identifier. The name of the posture deployment, in the format organizations/{organization}/locations/global/postureDeployments/{deployment_id}
.
Creates a new Posture.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Deletes all revisions of a Posture. You can only delete a posture if none of its revisions are deployed.
Required. The name of the Posture, in the format organizations/{organization}/locations/global/postures/{posture_id}
.
Extracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture. If the other organization, folder, or project already has a posture, then the result of the long-running operation is an ALREADY_EXISTS error.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Gets a single revision of a Posture.
Required. The name of the Posture, in the format organizations/{organization}/locations/global/postures/{posture_id}
.
Lists the most recent revisions of all Posture resources in a specified organization and location.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Lists all revisions of a single Posture.
Required. The name of the Posture, in the format organizations/{organization}/locations/global/postures/{posture_id}
.
Updates a revision of an existing Posture. If the posture revision that
you update is currently deployed, then a new revision of the posture is
created. To prevent concurrent updates from overwriting each other, always
follow the read-modify-write pattern when you update a posture: 1. Call
GetPosture to get the current version of the posture. 2. Update the fields
in the posture as needed. 3. Call UpdatePosture to update the posture.
Ensure that your request includes the etag
value from the GetPosture
response. Important: If you omit the etag
when you call
UpdatePosture, then the updated posture unconditionally overwrites the
existing posture.
Required. Identifier. The name of the posture, in the format organizations/{organization}/locations/global/postures/{posture_id}
.
Gets a single revision of a PostureTemplate.
Required. The name of the PostureTemplate, in the format organizations/{organization}/locations/global/postureTemplates/{posture_template}
.
Lists every PostureTemplate in a given organization and location.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Validates a specified infrastructure-as-code (IaC) configuration, and creates a Report with the validation results. Only Terraform configurations are supported. Only modified assets are validated.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Lists every Report in a given organization and location.
Required. The parent resource name, in the format organizations/{organization}/locations/global
.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.