Skip to main content

@swamp/gcp/securityposture

v2026.04.23.1

Google Cloud securityposture infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudsecurityposturecloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/securityposture

@swamp/gcp/securityposture/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP

Resources

state(infinite)— A resource that represents a Google Cloud location.
@swamp/gcp/securityposture/posturedeploymentsv2026.04.23.1posturedeployments.ts

Global Arguments

ArgumentTypeDescription
annotations?recordOptional. The user-specified annotations for the posture deployment. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations).
description?stringOptional. A description of the posture deployment.
name?stringRequired. Identifier. The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`.
postureId?stringRequired. The posture used in the deployment, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.
postureRevisionId?stringRequired. The revision ID of the posture used in the deployment.
targetResource?stringRequired. The organization, folder, or project where the posture is deployed. Uses one of the following formats: * `organizations/{organization_number}` * `folders/{folder_number}` * `projects/{project_number}`
postureDeploymentId?stringRequired. An identifier for the posture deployment.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a postureDeployments
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a postureDeployments
ArgumentTypeDescription
identifierstringThe name of the postureDeployments
updateUpdate postureDeployments attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the postureDeployments
ArgumentTypeDescription
identifierstringThe name of the postureDeployments
syncSync postureDeployments state from GCP

Resources

state(infinite)— Details for a Posture deployment on an organization, folder, or project. You ...
@swamp/gcp/securityposture/posturesv2026.04.23.1postures.ts

Global Arguments

ArgumentTypeDescription
annotations?recordOptional. The user-specified annotations for the posture. For details about the values you can use in an annotation, see [AIP-148: Standard fields](https://google.aip.dev/148#annotations).
description?stringOptional. A description of the posture.
name?stringRequired. Identifier. The name of the posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`.
policySets?arrayRequired. The PolicySet resources that the posture includes.
state?enumRequired. The state of the posture at the specified `revision_id`.
postureId?stringRequired. An identifier for the posture.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a postures
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
getGet a postures
ArgumentTypeDescription
identifierstringThe name of the postures
updateUpdate postures attributes
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after update (default: true)
deleteDelete the postures
ArgumentTypeDescription
identifierstringThe name of the postures
syncSync postures state from GCP
extractextract
ArgumentTypeDescription
postureId?any
workload?any
list_revisionslist revisions

Resources

state(infinite)— The details of a posture.
@swamp/gcp/securityposture/posturetemplatesv2026.04.23.1posturetemplates.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a postureTemplates
ArgumentTypeDescription
identifierstringThe name of the postureTemplates
syncSync postureTemplates state from GCP

Resources

state(infinite)— The details of a posture template.
@swamp/gcp/securityposture/reportsv2026.04.23.1reports.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
getGet a reports
ArgumentTypeDescription
identifierstringThe name of the reports
syncSync reports state from GCP
create_ia_cvalidation_reportcreate ia cvalidation report
ArgumentTypeDescription
iac?any

Resources

state(infinite)— Details of a report.