@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 SwampHow well-documented and verifiable this extension is.
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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
getGet a locations
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| annotations? | record | Optional. 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? | string | Optional. A description of the posture deployment. |
| name? | string | Required. Identifier. The name of the posture deployment, in the format `organizations/{organization}/locations/global/postureDeployments/{deployment_id}`. |
| postureId? | string | Required. The posture used in the deployment, in the format `organizations/{organization}/locations/global/postures/{posture_id}`. |
| postureRevisionId? | string | Required. The revision ID of the posture used in the deployment. |
| targetResource? | string | Required. 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? | string | Required. An identifier for the posture deployment. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a postureDeployments
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a postureDeployments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the postureDeployments |
updateUpdate postureDeployments attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the postureDeployments
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| annotations? | record | Optional. 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? | string | Optional. A description of the posture. |
| name? | string | Required. Identifier. The name of the posture, in the format `organizations/{organization}/locations/global/postures/{posture_id}`. |
| policySets? | array | Required. The PolicySet resources that the posture includes. |
| state? | enum | Required. The state of the posture at the specified `revision_id`. |
| postureId? | string | Required. An identifier for the posture. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
createCreate a postures
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after creation (default: true) |
getGet a postures
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the postures |
updateUpdate postures attributes
| Argument | Type | Description |
|---|---|---|
| waitForReady? | boolean | Wait for the resource to reach a ready state after update (default: true) |
deleteDelete the postures
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the postures |
syncSync postures state from GCP
extractextract
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
getGet a postureTemplates
| Argument | Type | Description |
|---|---|---|
| identifier | string | The 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
getGet a reports
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the reports |
syncSync reports state from GCP
create_ia_cvalidation_reportcreate ia cvalidation report
| Argument | Type | Description |
|---|---|---|
| iac? | any |
Resources
state(infinite)— Details of a report.
2026.04.04.121.0 KBApr 4, 2026
Google Cloud securityposture infrastructure models
Release Notes
- Updated: posturetemplates, postures, reports
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecurityposturecloudinfrastructure
2026.04.03.331.5 KBApr 3, 2026
Google Cloud securityposture infrastructure models
Release Notes
- Updated: posturedeployments, posturetemplates, postures, reports, locations
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecurityposturecloudinfrastructure
2026.04.03.130.4 KBApr 3, 2026
Google Cloud securityposture infrastructure models
Release Notes
- Updated: posturedeployments, posturetemplates, postures, reports, locations
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecurityposturecloudinfrastructure
2026.04.02.230.4 KBApr 2, 2026
Google Cloud securityposture infrastructure models
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecurityposturecloudinfrastructure
2026.03.27.131.2 KBMar 27, 2026
Google Cloud securityposture infrastructure models
Release Notes
- Added: posturedeployments, posturetemplates, postures, reports, locations
linux-x86_64linux-aarch64darwin-x86_64darwin-aarch64
gcpgoogle-cloudsecurityposturecloudinfrastructure