Skip to content

Cloud Google Cloud Registration

Operations for the Cloud Google Cloud Registration service collection.

LanguageLast Update
Pythonv1.6.5
PowerShell
Gov0.22.0
TypeScriptv0.6.0
Rust
Rubyv1.4.0


OperationDescription
cloud-registration-gcp-create-registration
create_registration
Create a Google Cloud Registration.
cloud-registration-gcp-delete-registration
delete_registration
Deletes a Google Cloud Registration and returns the deleted registration in the response body.
cloud-registration-gcp-get-entities
get_entities
Retrieve all GCP entities (organizations, folders, projects) grouped by type with support for FQL filtering, sorting, and pagination.
cloud-registration-gcp-get-registration
get_registration
Retrieve a Google Cloud Registration.
cloud-registration-gcp-post-terraform-script
cloud_registration_gcp_post_terraform_script
Generate Google Cloud Terraform deployment scripts (zip files)
cloud-registration-gcp-put-registration
update_registration
Creates/Updates a Google Cloud Registration.
cloud-registration-gcp-trigger-health-check
trigger_health_check
Trigger health check scan for GCP registrations
cloud-registration-gcp-update-registration
cloud_registration_gcp_update_registration
Update a Google Cloud Registration.

cloud-registration-gcp-create-registration

Section titled “cloud-registration-gcp-create-registration”

Create a Google Cloud Registration.

Method POST
Route /cloud-security-registration-google-cloud/entities/registrations/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 create_registration
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
deployment_method body · string
The method of deployment.
entity_id body · string or list of strings
The ID of the entity.
excluded_project_patterns body · string or list of strings
Project patterns that should be excluded.
falcon_client_key_id body · string
API client key ID.
falcon_client_key_type body · string
API client key type.
infra_project_id body · string
Infrastructure project ID.
labels body · dictionary
Prop labels.
products body · list of dictionaries
Products.
registration_name body · string
Registration name.
registration_scope body · string
Registration scope.
resource_name_prefix body · string
Resource name prefix.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
labels = {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
products = [
{
"features": [
"string"
],
"product": "string"
}
]
response = falcon.create_registration(deployment_method="string",
entity_id=id_list,
excluded_project_patterns=id_list,
falcon_client_key_id="string",
falcon_client_key_type="string",
infra_project_id="string",
labels=labels,
products=products,
registration_name="string",
registration_scope="string",
resource_name_prefix="string")
print(response)
[
{
"additional_properties": {},
"cloud_registration_enabled": false,
"created": "string",
"cspm_enabled": false,
"deployment_method": "string",
"dspm_settings": {},
"excluded_project_patterns": [],
"falcon_client_key_id": "string",
"falcon_client_key_type": "string",
"folders": [],
"infra_manager_properties": {},
"infra_project_id": "string",
"labels": {},
"last_healthcheck_completed_at": "string",
"log_ingestion_properties": {},
"organization": {},
"products": [],
"projects": [],
"registration_description": "string",
"registration_id": "string",
"registration_name": "string",
"registration_scope": "string",
"resource_name_prefix": "string",
"resource_name_suffix": "string",
"service_account_properties": {},
"status": "string",
"tags": {},
"updated": "string",
"vulnerability_scanning_settings": {},
"wif_properties": {}
}
]


cloud-registration-gcp-delete-registration

Section titled “cloud-registration-gcp-delete-registration”

Deletes a Google Cloud Registration and returns the deleted registration in the response body.

Method DELETE
Route /cloud-security-registration-google-cloud/entities/registrations/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 delete_registration
ids query · string
Google Cloud Registration ID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_registration(ids=id_list)
print(response)
[
{
"additional_properties": {},
"cloud_registration_enabled": false,
"created": "string",
"cspm_enabled": false,
"deployment_method": "string",
"dspm_settings": {},
"excluded_project_patterns": [],
"falcon_client_key_id": "string",
"falcon_client_key_type": "string",
"folders": [],
"infra_manager_properties": {},
"infra_project_id": "string",
"labels": {},
"last_healthcheck_completed_at": "string",
"log_ingestion_properties": {},
"organization": {},
"products": [],
"projects": [],
"registration_description": "string",
"registration_id": "string",
"registration_name": "string",
"registration_scope": "string",
"resource_name_prefix": "string",
"resource_name_suffix": "string",
"service_account_properties": {},
"status": "string",
"tags": {},
"updated": "string",
"vulnerability_scanning_settings": {},
"wif_properties": {}
}
]


Retrieve all GCP entities (organizations, folders, projects) grouped by type with support for FQL filtering, sorting, and pagination.

Method GET
Route /cloud-security-registration-google-cloud/entities/accounts/v1
Scope Cloud Security Google Cloud Registration: READ
PEP 8 get_entities
ids query · string or list of strings
Google Cloud Registration IDs to filter by
filter query · string
FQL (Falcon Query Language) string for filtering results. Allowed filters are:
Available values (14)
entity_typeentity_identity_name
registration_idregistration_nameregistration_scope
parent_idproject_numberioa_status
iom_statusdspm_statusvulnerability_scanning_status
createdupdated
sort query · string
Field and direction for sorting results (e.g., created|desc). Sorting applies across all entity types before grouping.
limit query · integer
Maximum number of records to return (default: 100, max: 500). Limit applies across all entity types.
offset query · integer
Starting index of result
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_entities(ids=id_list,
filter="string",
sort="string",
limit=integer,
offset=integer)
print(response)
{
"folders": [],
"organizations": [],
"projects": []
}


Retrieve a Google Cloud Registration.

Method GET
Route /cloud-security-registration-google-cloud/entities/registrations/v1
Scope Cloud Security Google Cloud Registration: READ
PEP 8 get_registration
ids query · string
Google Cloud Registration ID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_registration(ids=id_list)
print(response)
[
{
"additional_properties": {},
"cloud_registration_enabled": false,
"created": "string",
"cspm_enabled": false,
"deployment_method": "string",
"dspm_settings": {},
"excluded_project_patterns": [],
"falcon_client_key_id": "string",
"falcon_client_key_type": "string",
"folders": [],
"infra_manager_properties": {},
"infra_project_id": "string",
"labels": {},
"last_healthcheck_completed_at": "string",
"log_ingestion_properties": {},
"organization": {},
"products": [],
"projects": [],
"registration_description": "string",
"registration_id": "string",
"registration_name": "string",
"registration_scope": "string",
"resource_name_prefix": "string",
"resource_name_suffix": "string",
"service_account_properties": {},
"status": "string",
"tags": {},
"updated": "string",
"vulnerability_scanning_settings": {},
"wif_properties": {}
}
]


cloud-registration-gcp-post-terraform-script

Section titled “cloud-registration-gcp-post-terraform-script”

Generate Google Cloud Terraform deployment scripts (zip files)

Method POST
Route /cloud-security-registration-google-cloud/entities/scripts-terraform/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 cloud_registration_gcp_post_terraform_script
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
The resources value.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
response = falcon.cloud_registration_gcp_post_terraform_script(resources=["string"])
print(response)
{
"errors": [
{
"code": 0,
"id": "string",
"message": "string"
}
],
"meta": {
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"powered_by": "string",
"query_time": 0.0,
"trace_id": "string",
"writes": {
"resources_affected": 0
}
}
}


Creates/Updates a Google Cloud Registration.

Method PUT
Route /cloud-security-registration-google-cloud/entities/registrations/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 update_registration
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
deployment_method body · string
The method of deployment.
entity_id body · string or list of strings
The ID of the entity.
excluded_project_patterns body · string or list of strings
Project patterns that should be excluded.
falcon_client_key_id body · string
API client key ID.
falcon_client_key_type body · string
API client key type.
infra_project_id body · string
Infrastructure project ID.
labels body · dictionary
Prop labels.
products body · list of dictionaries
Products.
registration_name body · string
Registration name.
registration_scope body · string
Registration scope.
resource_name_prefix body · string
Resource name prefix.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
labels = {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
products = [
{
"features": [
"string"
],
"product": "string"
}
]
response = falcon.update_registration(deployment_method="string",
entity_id=id_list,
excluded_project_patterns=id_list,
falcon_client_key_id="string",
falcon_client_key_type="string",
infra_project_id="string",
labels=labels,
products=products,
registration_name="string",
registration_scope="string",
resource_name_prefix="string")
print(response)
[
{
"additional_properties": {},
"cloud_registration_enabled": false,
"created": "string",
"cspm_enabled": false,
"deployment_method": "string",
"dspm_settings": {},
"excluded_project_patterns": [],
"falcon_client_key_id": "string",
"falcon_client_key_type": "string",
"folders": [],
"infra_manager_properties": {},
"infra_project_id": "string",
"labels": {},
"last_healthcheck_completed_at": "string",
"log_ingestion_properties": {},
"organization": {},
"products": [],
"projects": [],
"registration_description": "string",
"registration_id": "string",
"registration_name": "string",
"registration_scope": "string",
"resource_name_prefix": "string",
"resource_name_suffix": "string",
"service_account_properties": {},
"status": "string",
"tags": {},
"updated": "string",
"vulnerability_scanning_settings": {},
"wif_properties": {}
}
]


cloud-registration-gcp-trigger-health-check

Section titled “cloud-registration-gcp-trigger-health-check”

Trigger health check scan for GCP registrations

Method POST
Route /cloud-security-registration-google-cloud/entities/registration-scans/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 trigger_health_check
ids query · string or list of strings
GCP Registration IDs
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.trigger_health_check(ids=id_list)
print(response)
[
{
"registration_id": "string"
}
]


cloud-registration-gcp-update-registration

Section titled “cloud-registration-gcp-update-registration”

Update a Google Cloud Registration.

Method PATCH
Route /cloud-security-registration-google-cloud/entities/registrations/v1
Scope Cloud Security Google Cloud Registration: WRITE
PEP 8 cloud_registration_gcp_update_registration
body body · dictionary
Full body payload as JSON formatted dictionary.
resources body · array
ids query · string
Google Cloud Registration ID
parameters query · dictionary
Full query string parameters payload in JSON format. Not required when using other keywords.
deployment_method body · string
The method of deployment.
entity_id body · string or list of strings
The ID of the entity.
excluded_project_patterns body · string or list of strings
Project patterns that should be excluded.
falcon_client_key_id body · string
API client key ID.
falcon_client_key_type body · string
API client key type.
infra_project_id body · string
Infrastructure project ID.
labels body · dictionary
Prop labels.
products body · list of dictionaries
Products.
registration_name body · string
Registration name.
registration_scope body · string
Registration scope.
resource_name_prefix body · string
Resource name prefix.
from falconpy import CloudGoogleCloudRegistration
falcon = CloudGoogleCloudRegistration(client_id=CLIENT_ID,
client_secret=CLIENT_SECRET
)
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
labels = {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
}
products = [
{
"features": [
"string"
],
"product": "string"
}
]
response = falcon.cloud_registration_gcp_update_registration(ids=id_list,
deployment_method="string",
entity_id=id_list,
excluded_project_patterns=id_list,
falcon_client_key_id="string",
falcon_client_key_type="string",
infra_project_id="string",
labels=labels,
products=products,
registration_name="string",
registration_scope="string",
resource_name_prefix="string")
print(response)
[
{
"additional_properties": {},
"cloud_registration_enabled": false,
"created": "string",
"cspm_enabled": false,
"deployment_method": "string",
"dspm_settings": {},
"excluded_project_patterns": [],
"falcon_client_key_id": "string",
"falcon_client_key_type": "string",
"folders": [],
"infra_manager_properties": {},
"infra_project_id": "string",
"labels": {},
"last_healthcheck_completed_at": "string",
"log_ingestion_properties": {},
"organization": {},
"products": [],
"projects": [],
"registration_description": "string",
"registration_id": "string",
"registration_name": "string",
"registration_scope": "string",
"resource_name_prefix": "string",
"resource_name_suffix": "string",
"service_account_properties": {},
"status": "string",
"tags": {},
"updated": "string",
"vulnerability_scanning_settings": {},
"wif_properties": {}
}
]