Skip to main content

Gcp/ondemandscanning

@swamp/gcp/ondemandscanningv2026.08.06.1· 1d agoMODELS
01README

Google Cloud ondemandscanning infrastructure models

02Release Notes
  • Updated: scans_vulnerabilities
03Models1
@swamp/gcp/ondemandscanning/scans-vulnerabilitiesv2026.08.06.1scans_vulnerabilities.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
fn get(identifier: string)
Get a vulnerabilities
ArgumentTypeDescription
identifierstringThe name of the vulnerabilities
fn sync(identifier?: string)
Sync vulnerabilities state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific vulnerabilities by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List vulnerabilities resources
ArgumentTypeDescription
pageSize?numberThe number of vulnerabilities to retrieve.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— An instance of an analysis type that has been found on a resource.
04Previous Versions19
2026.07.29.1
  • Updated: scans_vulnerabilities
2026.07.21.3
  • Updated: scans_vulnerabilities
2026.07.20.2
  • Updated: scans_vulnerabilities
2026.07.20.1
  • Updated: scans_vulnerabilities
2026.07.19.1
  • Updated: scans_vulnerabilities
2026.07.18.2
  • Updated: scans_vulnerabilities
2026.07.17.1
  • Updated: scans_vulnerabilities
2026.06.24.1
  • Updated: scans_vulnerabilities
2026.06.08.2
  • Updated: scans_vulnerabilities
2026.06.07.1
  • Updated: scans_vulnerabilities
2026.06.03.1
  • Updated: scans_vulnerabilities
2026.05.26.1
  • Updated: scans_vulnerabilities
2026.05.25.1
  • Updated: scans_vulnerabilities

Modified 1 models

2026.05.24.1
  • Updated: scans_vulnerabilities
2026.05.21.2
  • Updated: scans_vulnerabilities
2026.05.21.1
2026.05.20.1
  • Updated: scans_vulnerabilities
2026.05.19.2
2026.05.19.1
05Stats
A
100 / 100
Downloads
0
Archive size
27.3 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels