Cloud Azure Registration
Cloud Azure Registration is the Azure-registration-tenant-list collection
for this CID — GetRegistration (SOURCE
cloud-registration-azure-get-registration, PEP 8
get_registration), CreateRegistration (SOURCE
cloud-registration-azure-create-registration, PEP 8
create_registration), DeleteRegistration (SOURCE
cloud-registration-azure-delete-registration, PEP 8
delete_registration), CreateSuppressions (SOURCE
cloud-registration-azure-create-suppressions, PEP 8
cloud_registration_azure_create_suppressions), DeleteSuppressions
(SOURCE cloud-registration-azure-delete-suppressions, PEP 8
cloud_registration_azure_delete_suppressions), GetLegacyAccounts
(DESIGN GET list; not a SOURCE leftover),
DeleteLegacySubscription (SOURCE
cloud-registration-azure-delete-legacy-subscription, PEP 8
delete_legacy_subscription), DownloadScript (SOURCE
cloud-registration-azure-download-script, PEP 8
download_script), GetIssueSuppressionValuesByField (SOURCE
cloud-registration-azure-get-issue-suppression-values-by-field, PEP 8
cloud_registration_azure_get_issue_suppression_values_by_field),
GetIssueValuesByField (SOURCE
cloud-registration-azure-get-issue-values-by-field, PEP 8
cloud_registration_azure_get_issue_values_by_field),
GetIssues (SOURCE
cloud-registration-azure-get-issues, PEP 8
cloud_registration_azure_get_issues),
GetScript (SOURCE
cloud-registration-azure-get-script, PEP 8
cloud_registration_azure_get_script),
GetScriptVersions (SOURCE
cloud-registration-azure-get-script-versions, PEP 8
cloud_registration_azure_get_script_versions),
GetSuppressions (SOURCE
cloud-registration-azure-get-suppressions, PEP 8
cloud_registration_azure_get_suppressions),
TriggerHealthCheck (SOURCE
cloud-registration-azure-trigger-health-check, PEP 8
health_check),
UpdateRegistration (SOURCE
cloud-registration-azure-update-registration, PEP 8
update_registration),
UpdateSuppressions (SOURCE)
cloud-registration-azure-update-suppressions, PEP 8
cloud_registration_azure_update_suppressions), and
ValidateRegistration (SOURCE
cloud-registration-azure-validate-registration, PEP 8
validate_registration). Request proto
CloudAzureTriggerHealthCheckRequest (AWS already owns
TriggerHealthCheckRequest in platform.v1). The path is
GET /cloud-security-registration-azure/entities/registrations/v1,
POST /cloud-security-registration-azure/entities/registrations/v1,
DELETE /cloud-security-registration-azure/entities/registrations/v1,
POST /cloud-security-registration-azure/entities/issue-suppressions/v1,
DELETE /cloud-security-registration-azure/entities/issue-suppressions/v1,
GET /cloud-security-registration-azure/entities/accounts/legacy/v1,
DELETE /cloud-security-registration-azure/entities/accounts/legacy/v1,
POST /cloud-security-registration-azure/entities/scripts/v1,
GET /cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1,
GET /cloud-security-registration-azure/aggregates/issues-values-by-fields/v1,
GET /cloud-security-registration-azure/entities/issues/v1,
GET /cloud-security-registration-azure/entities/scripts/v1,
GET /cloud-security-registration-azure/entities/script-versions/v1,
GET /cloud-security-registration-azure/entities/issue-suppressions/v1,
POST /cloud-security-registration-azure/entities/registrations/healthcheck/v1,
PATCH /cloud-security-registration-azure/entities/registrations/v1,
PATCH /cloud-security-registration-azure/entities/issue-suppressions/v1,
and
POST /cloud-security-registration-azure/entities/registrations/validate/v1.
Image assessment policies / remaining cloud
and other cloud/container collections are not implemented (not yet).
This is not CSPM Azure
(GET /cloud-connect-cspm-azure/entities/account/v1 and
POST /cloud-connect-cspm-azure/entities/account/v1):
CSPM Azure. This is not Cloud AWS
Registration
(GET /cloud-security-registration-aws/entities/account/v1):
Cloud AWS Registration. GET this registration
path is distinct from POST this registration path. POST this
suppressions path is distinct from GET this suppressions path, POST
this registration path, GET this registration path, DELETE this
suppressions path, and CSPM Azure. DELETE this suppressions path is
distinct from GET this suppressions path, POST this suppressions path,
CSPM Azure, tenant Delete, and legacy Delete. POST this scripts path
is distinct from GET this scripts path, GET this script-versions path, GET this issues path, CSPM Azure, POST this
suppressions path, DELETE this suppressions path, DELETE this
registration path, and DELETE this legacy path. GET this scripts path
is distinct from POST this scripts path, GET this script-versions path, GET this issues path, CSPM Azure, POST this suppressions
path, DELETE this suppressions path, DELETE this registration path,
and DELETE this legacy path. GET this aggregates
path is distinct from GET get-issue-values-by-field, GET get-issues,
GET get-suppressions, POST this suppressions path, DELETE this
suppressions path, and CSPM Azure. GET this issues-values-by-fields
path is distinct from GET get-issues, GET this aggregates path, GET
get-suppressions, POST this suppressions path, DELETE this
suppressions path, and CSPM Azure. GET this issues path is distinct
from GET get-issue-values-by-field, GET this aggregates path, GET
get-suppressions, POST this suppressions path, DELETE this
suppressions path, GET this scripts path, and CSPM Azure. GET this
scripts path is distinct from POST this scripts path, GET
this script-versions path, GET this issues path, CSPM Azure, POST
this suppressions path, DELETE this suppressions path, DELETE this
registration path, and DELETE this legacy path. GET this script-versions
path is distinct from GET this scripts path, POST this scripts path, and
GET get-suppressions. GET this suppressions path is distinct from POST
this suppressions path, DELETE this suppressions path, GET aggregates
issue-suppressions-values-by-fields, GET this issues path, and GET this
script-versions path. POST this healthcheck path is distinct from GET
this registration path, POST this registration path, DELETE this
registration path, and GET this suppressions path. PATCH this
registration path is distinct from POST this registration path, GET
this registration path, DELETE this registration path, and POST this
healthcheck path. PATCH this suppressions path is distinct from POST
this suppressions path, GET this suppressions path, DELETE this
suppressions path, and PATCH this registration path. POST this validate
path is distinct from POST this healthcheck path, GET this registration
path, POST this registration path, PATCH this registration path, and
DELETE this registration path. GET this legacy path is
distinct from DELETE this legacy path, GET this registration path, POST
this registration path, DELETE this registration path, POST this
suppressions path, DELETE this suppressions path, CSPM Azure, and
remaining Cloud Azure Registration. DELETE this registration path is
distinct from GET this registration path, POST this registration path,
DELETE this legacy path, DELETE this suppressions path, CSPM Azure, and
remaining Cloud Azure Registration. This is not
Kubernetes Azure
(/kubernetes-protection/entities/accounts/azure/v1):
K8s Azure. This is not Kubernetes
(/kubernetes-protection/…) and not Hosts (/devices/…). This is
not the HelloService template sample (GET /api/hello).
This collection is not CrowdStrike production. It does not call Falcon cloud. It is not CrowdStrike Falcon Cloud or Horizon.
RPC field notes: CloudAzureRegistrationService. REST schemas:
API reference. Cloud Azure Registration uses query params, not FQL.
Extra unused query keys tenant_id, registration_id, and parameters
are ignored on GET. Clone GET success is JSON MSA 200
CloudAzureRegistration (tenant_id, registration_id,
account_type, status, cid, environment, tenant_name). SOURCE
JSON array is not the clone envelope. POST create uses JSON body
{tenant_id, account_type, environment, tenant_name}. Extra unused
subscription_ids, products, event_hub_settings,
additional_features, status, and parameters are ignored. Clone POST
success is JSON MSA 200 (not SOURCE array and not SOURCE 201).
GET this registration path is distinct from POST this registration path
and DELETE this registration path. DELETE uses query tenant_ids
(required) and an empty body. Extra unused parameters is ignored.
Clone DELETE success is JSON MSA 200 CloudAzureRegistration
(tenant_id, registration_id, account_type, status, cid,
environment, tenant_name). SOURCE array is not the clone
envelope. DELETE this registration path is distinct from GET this
registration path, POST this registration path, DELETE this legacy
path, CSPM Azure, and remaining Cloud Azure Registration. POST
suppressions uses JSON body
{registration_id, issue_name, reason}. Extra unused category,
entity_id, entity_type, impact, severity, suppressed_by,
type, resources, status, and parameters are ignored. Clone POST
suppressions success is JSON MSA 200 CloudAzureIssueSuppression
(suppression_id, registration_id, issue_name, reason,
created_at). SOURCE array / 201 is not the clone envelope.
POST this suppressions path is distinct from GET this suppressions
path, POST this registration path, GET this registration path, DELETE
this suppressions path, and CSPM Azure. DELETE DeleteSuppressions
uses JSON body {suppression_ids}. Extra unused status,
parameters, and resources are ignored. Clone DELETE suppressions
success is JSON MSA 200 CloudAzureIssueSuppression
(suppression_id, registration_id, issue_name, reason,
created_at). SOURCE writes is not the clone envelope. DELETE
this suppressions path is distinct from GET this suppressions path,
POST this suppressions path, DELETE this registration path, DELETE this
legacy path, and CSPM Azure. DESIGN
GET GetLegacyAccounts lists seeded legacy subscriptions on
GET /cloud-security-registration-azure/entities/accounts/legacy/v1.
DELETE DeleteLegacySubscription uses JSON body {subscription_id}.
Extra unused tenant_id, retain_client, resources, status, and
parameters are ignored. Clone GET/DELETE legacy success is JSON MSA
200 CloudAzureLegacyAccount (subscription_id,
subscription_name, tenant_id, management_group_id). SOURCE array
is not the clone envelope. GET this legacy path is distinct from
DELETE this legacy path, GET this registration path, POST this
registration path, POST this suppressions path, DELETE this
suppressions path, CSPM Azure, and
remaining Cloud Azure Registration. POST DownloadScript uses JSON
body {tenant_id}. Extra unused status, parameters, and
resources are ignored. Clone POST scripts success is JSON MSA 200
CloudAzureScript (cid, tenant_id, url, version). SOURCE array
/ tenantId is not the clone envelope. POST this scripts path is
distinct from GET this scripts path, GET this script-versions path,
GET this issues path, CSPM Azure, POST this suppressions path, DELETE
this suppressions path, DELETE this registration path, and DELETE this
legacy path. GET GetScript uses query tenant_id. Extra unused
parameters is ignored. Clone GET scripts success is JSON MSA 200
CloudAzureScript (cid, tenant_id, url, version). SOURCE
error-only card is not the clone envelope. GET this scripts path
is distinct from POST this scripts path, GET this script-versions
path, GET this issues path, CSPM Azure, POST this suppressions
path, DELETE this suppressions path, DELETE this registration path,
and DELETE this legacy path. GET
GetScriptVersions ignores extra unused query deployment_method /
sort / limit / offset / parameters. Clone GET script-versions
success is JSON MSA 200 CloudAzureScriptVersion (version,
deployment_method, download_url, published_date). SOURCE array
is not the clone envelope. GET this script-versions path is
distinct from GET this scripts path, POST this scripts path, and GET
get-suppressions. GET
GetIssueSuppressionValuesByField uses query registration_id and
field. Extra unused parameters is ignored. Clone GET aggregates
success is JSON MSA 200 CloudAzureIssueSuppressionValue
(value, count). SOURCE array is not the clone envelope. GET
this aggregates path is distinct from GET get-issue-values-by-field,
GET get-issues, GET get-suppressions, POST this suppressions path,
DELETE this suppressions path, and CSPM Azure. GET
GetIssueValuesByField uses query registration_id and field.
Extra unused filter / parameters are ignored. Clone GET
issues-values-by-fields success is JSON MSA 200
CloudAzureIssueValue (value, count). SOURCE array is not the
clone envelope. GET this issues-values-by-fields path is distinct from
GET get-issues, GET this aggregates path, GET get-suppressions, POST
this suppressions path, DELETE this suppressions path, and CSPM Azure.
GET GetIssues uses query registration_id. Extra unused filter /
sort / group_by / limit / offset / parameters are ignored.
Clone GET issues success is JSON MSA 200 CloudAzureIssue
(issue_id, registration_id, issue, name, severity,
category, impact, entity_type, entity_id, entity_name,
status, feature). SOURCE array is not the clone envelope.
SOURCE-only first_seen / last_seen / region / impacted_entities
omitted this slice. GET this issues path is distinct from GET
get-issue-values-by-field, GET this aggregates path, GET
get-suppressions, POST this suppressions path, DELETE this
suppressions path, GET this scripts path, and CSPM Azure.
GET GetSuppressions uses query registration_id. Extra unused
filter / sort / limit / offset / parameters are ignored.
Clone GET suppressions success is JSON MSA 200
CloudAzureIssueSuppression (suppression_id, registration_id,
issue_name, reason, created_at). SOURCE array is not the
clone envelope. SOURCE-only category / entity_id / entity_type /
impact / severity / suppressed_by / type omitted this slice.
GET this suppressions path is distinct from POST this suppressions
path, DELETE this suppressions path, GET aggregates
issue-suppressions-values-by-fields, GET this issues path, and GET
this script-versions path.
POST TriggerHealthCheck uses query tenant_ids. Extra unused
parameters is ignored. Empty body. Clone POST healthcheck success is
JSON MSA 200 CloudAzureHealthCheck (tenant_id). SOURCE array
is not the clone envelope. Request proto
CloudAzureTriggerHealthCheckRequest (AWS already owns
TriggerHealthCheckRequest in platform.v1). RPC TriggerHealthCheck.
POST this healthcheck path is distinct from GET this registration
path, POST this registration path, DELETE this registration path, and
GET this suppressions path.
PATCH UpdateRegistration uses JSON body
{tenant_id, account_type, environment, tenant_name, status}.
tenant_id is required. Extra unused subscription_ids, products,
event_hub_settings, additional_features, parameters, and
resources are ignored. Empty account_type / environment /
tenant_name / status keep the stored value. Clone PATCH success is
JSON MSA 200 CloudAzureRegistration (tenant_id,
registration_id, account_type, status, cid, environment,
tenant_name). SOURCE array is not the clone envelope. PATCH this
registration path is distinct from POST this registration path, GET
this registration path, DELETE this registration path, and POST this
healthcheck path. RPC UpdateRegistration. SOURCE
cloud-registration-azure-update-registration. PEP 8
update_registration.
PATCH UpdateSuppressions uses JSON body
{suppression_id, reason}. suppression_id is required. Extra unused
resources, category, entity_id, entity_type, impact,
severity, suppressed_by, type, status, and parameters are
ignored. Empty reason keeps the stored value. Extra unused expansion
fields and SOURCE resources wrap ignored. Clone PATCH suppressions
success is JSON MSA 200 CloudAzureIssueSuppression
(suppression_id, registration_id, issue_name, reason,
created_at). SOURCE array is not the clone envelope. PATCH this
suppressions path is distinct from POST this suppressions path, GET
this suppressions path, DELETE this suppressions path, and PATCH this
registration path. RPC UpdateSuppressions. SOURCE
cloud-registration-azure-update-suppressions. PEP 8
cloud_registration_azure_update_suppressions.
POST ValidateRegistration uses query tenant_id (required). Extra
unused stack_name and parameters are ignored. Empty body. Clone POST
validate success is JSON MSA 200 {tenant_id, status}. SOURCE
writes envelope is not the clone envelope. POST this validate path
is distinct from POST this healthcheck path, GET this registration
path, POST this registration path, PATCH this registration path, and
DELETE this registration path. RPC ValidateRegistration. SOURCE
cloud-registration-azure-validate-registration. PEP 8
validate_registration.
These curls use Host: crowdstrike-api.localhost against Compose
Traefik on :8088. If the hostname already resolves to Traefik, you can
omit the Host header and call http://crowdstrike-api.localhost instead.
Auth
Every call needs a console session or a Bearer token:
- Cookie
cs_consolefromCreateSession(POST /identity/entities/sessions/v1) Authorization: Bearerwithcloud-azure-registration:read(GET registrations, GET legacy, GET issue-suppression values, GET issue values, GET issues, GET scripts, GET script-versions, GET suppressions, POST healthcheck, and POST validate) orcloud-azure-registration:write(POST registrations, PATCH registrations, DELETE registrations, POST suppressions, PATCH suppressions, DELETE suppressions, DELETE legacy, and POST scripts)
A session cookie bypasses OAuth scopes and can GET registrations, GET
legacy, GET issue-suppression values, GET issue values, GET issues, GET
scripts, GET script-versions, GET suppressions, POST healthcheck, POST
validate, POST
registrations, PATCH registrations, DELETE registrations, POST
suppressions, PATCH suppressions, DELETE suppressions, DELETE legacy,
and POST scripts.
Seed client
cs-local-hosts
(hosts:read only) cannot list or create tenants, delete tenants,
create suppressions, update suppressions, delete suppressions, get suppression values, get
issue values, get issues, get scripts, get script versions, get
suppressions, trigger health checks, validate tenants, list legacy, delete legacy, or download scripts
(403). Unit tests use a
client named cs-local-cspm with cspm-registration:read; that client
cannot list or create tenants, delete tenants, create
suppressions, update suppressions, delete suppressions, get suppression values, get issue
values, get issues, get scripts, get script versions, get suppressions,
trigger health checks, validate tenants, list legacy, delete legacy, or download scripts (403).
Unit tests use a client named cs-local-cawsr with
cloud-aws-registration:read; that client cannot list or create
tenants, delete tenants, create suppressions, update suppressions, delete suppressions, get
suppression values, get issue values, get issues, get scripts, get script versions, get suppressions, trigger health checks, validate tenants, list legacy, delete legacy, or
download scripts (403). Unit tests use a client named
cs-local-cazr with cloud-azure-registration:read; that client
can list tenants, list legacy, get suppression values, get
issue values, get issues, get scripts, get script versions, get
suppressions, trigger health checks, and validate tenants (200) and cannot POST registrations, PATCH
registrations, DELETE registrations, POST suppressions, PATCH
suppressions, DELETE suppressions, DELETE legacy, or POST scripts (403).
Unit tests use a client named cs-local-cazrw with
cloud-azure-registration:write; that client can POST
registrations, PATCH registrations, DELETE registrations, POST
suppressions, PATCH suppressions, DELETE suppressions, DELETE
legacy, and POST scripts (200) and cannot list tenants, list
legacy, get suppression values, get issue values, get issues, get scripts, get script versions, or get suppressions (403 on GET) and cannot POST healthcheck or POST validate (403).
GetRegistration stays cloud-azure-registration:read.
GetLegacyAccounts stays cloud-azure-registration:read.
GetIssueSuppressionValuesByField stays cloud-azure-registration:read.
GetIssueValuesByField stays cloud-azure-registration:read.
GetIssues stays cloud-azure-registration:read.
GetScript stays cloud-azure-registration:read.
GetScriptVersions stays cloud-azure-registration:read.
GetSuppressions stays cloud-azure-registration:read.
TriggerHealthCheck stays cloud-azure-registration:read.
ValidateRegistration stays cloud-azure-registration:read.
CreateRegistration stays cloud-azure-registration:write.
UpdateRegistration stays cloud-azure-registration:write.
DeleteRegistration stays cloud-azure-registration:write.
CreateSuppressions stays cloud-azure-registration:write.
UpdateSuppressions stays cloud-azure-registration:write.
DeleteSuppressions stays cloud-azure-registration:write.
DeleteLegacySubscription stays cloud-azure-registration:write.
DownloadScript stays cloud-azure-registration:write. There
is no seeded production client with cloud-azure-registration:read or
cloud-azure-registration:write — use the console cookie, or a client
you created with that scope. Missing or revoked token → 401.
HTTP paths
| Method | Path | Use |
|---|---|---|
GET | /cloud-security-registration-azure/entities/registrations/v1 | List tenants. RPC GetRegistration. SOURCE cloud-registration-azure-get-registration. PEP 8 get_registration. Extra unused query tenant_id, registration_id, parameters ignored. Success 200 MSA CloudAzureRegistration (tenant_id, registration_id, account_type, status, cid, environment, tenant_name). Distinct from CSPM GET /cloud-connect-cspm-azure/entities/account/v1, Cloud AWS Registration GET /cloud-security-registration-aws/entities/account/v1, POST this registration path, and DELETE this registration path. SOURCE array is not the clone envelope. |
POST | /cloud-security-registration-azure/entities/registrations/v1 | Create tenant. RPC CreateRegistration. SOURCE cloud-registration-azure-create-registration. PEP 8 create_registration. cloud-azure-registration:write. Body JSON {tenant_id, account_type, environment, tenant_name}. Extra unused subscription_ids, products, event_hub_settings, additional_features, status, and parameters ignored. Success 200 MSA CloudAzureRegistration (tenant_id, registration_id, account_type, status, cid, environment, tenant_name). Distinct from CSPM POST /cloud-connect-cspm-azure/entities/account/v1, GET this registration path, DELETE this registration path, and POST this suppressions path. SOURCE array / 201 is not the clone envelope. Duplicate tenant_id 400. Missing tenant_id → 400. Created registration_id is reg-<tenant_id> (tenant-lab-3 → reg-tenant-lab-3). |
PATCH | /cloud-security-registration-azure/entities/registrations/v1 | Update tenant. RPC UpdateRegistration. SOURCE cloud-registration-azure-update-registration. PEP 8 update_registration. cloud-azure-registration:write. Body JSON {tenant_id, account_type, environment, tenant_name, status}. tenant_id required. Extra unused subscription_ids, products, event_hub_settings, additional_features, parameters, resources ignored. Empty account_type / environment / tenant_name / status keep the stored value. Success 200 MSA CloudAzureRegistration (tenant_id, registration_id, account_type, status, cid, environment, tenant_name). Distinct from POST this registration path, GET this registration path, DELETE this registration path, POST healthcheck. SOURCE array is not the clone envelope. Missing tenant_id → 400. Unknown tenant_id → 400. PATCH tenant_id=tenant-lab-2 / account_type=gov returns reg-az-2 with account_type gov. GET after lists tenant-lab-1 commercial then tenant-lab-2 gov. |
DELETE | /cloud-security-registration-azure/entities/registrations/v1 | Delete tenant. RPC DeleteRegistration. SOURCE cloud-registration-azure-delete-registration. PEP 8 delete_registration. cloud-azure-registration:write. Query tenant_ids. Empty body. Extra unused parameters ignored. Success 200 MSA CloudAzureRegistration (tenant_id, registration_id, account_type, status, cid, environment, tenant_name). Distinct from CSPM Azure DELETE /cloud-connect-cspm-azure/entities/account/v1, DELETE this legacy path, GET this registration path, POST this registration path, POST this suppressions path, GET this legacy path, and remaining Cloud Azure Registration. SOURCE array is not the clone envelope. Duplicate DELETE 400. Missing tenant_ids → 400. Unknown tenant_id → 400. If any tenant_id is unknown, 400 and no row is deleted. Create tenant-lab-3 first if missing. |
POST | /cloud-security-registration-azure/entities/issue-suppressions/v1 | Create issue suppression. RPC CreateSuppressions. SOURCE cloud-registration-azure-create-suppressions. PEP 8 cloud_registration_azure_create_suppressions. cloud-azure-registration:write. Body JSON {registration_id, issue_name, reason}. Extra unused category, entity_id, entity_type, impact, severity, suppressed_by, type, resources, status, and parameters ignored. Success 200 MSA CloudAzureIssueSuppression (suppression_id, registration_id, issue_name, reason, created_at). Distinct from GET this suppressions path, DELETE this suppressions path, POST this registration path, GET this registration path, DELETE this registration path, GET this legacy path, DELETE this legacy path, and CSPM Azure POST /cloud-connect-cspm-azure/entities/account/v1. SOURCE array / 201 is not the clone envelope. Duplicate suppression_id 400. Missing registration_id or issue_name → 400. Unknown registration_id → 400. Created suppression_id is sup-<registration_id>-<issue_name> (reg-az-1 + lab-issue → sup-reg-az-1-lab-issue). |
PATCH | /cloud-security-registration-azure/entities/issue-suppressions/v1 | Update issue suppression. RPC UpdateSuppressions. SOURCE cloud-registration-azure-update-suppressions. PEP 8 cloud_registration_azure_update_suppressions. cloud-azure-registration:write. Body JSON {suppression_id, reason}. suppression_id required. Extra unused resources, category, entity_id, entity_type, impact, severity, suppressed_by, type, status, and parameters ignored. Empty reason keeps the stored value. Success 200 MSA CloudAzureIssueSuppression (suppression_id, registration_id, issue_name, reason, created_at). Distinct from POST this suppressions path, GET this suppressions path, DELETE this suppressions path, PATCH this registration path. Extra unused expansion fields and SOURCE resources wrap ignored. SOURCE array is not the clone envelope. Missing suppression_id → 400. Unknown suppression_id → 400. PATCH suppression_id=sup-az-1 / reason=policy-reviewed returns sup-az-1 with reason policy-reviewed, registration_id reg-az-1, issue_name misconfig-1, created_at 2026-01-15. GET after lists sup-az-1 policy-reviewed then sup-az-2 policy-exception first. |
DELETE | /cloud-security-registration-azure/entities/issue-suppressions/v1 | Delete issue suppression. RPC DeleteSuppressions. SOURCE cloud-registration-azure-delete-suppressions. PEP 8 cloud_registration_azure_delete_suppressions. cloud-azure-registration:write. Body JSON {suppression_ids}. Extra unused status, parameters, and resources ignored. Success 200 MSA CloudAzureIssueSuppression (suppression_id, registration_id, issue_name, reason, created_at). Distinct from GET this suppressions path, POST this suppressions path, DELETE this registration path, DELETE this legacy path, CSPM Azure DELETE /cloud-connect-cspm-azure/entities/account/v1, and remaining Cloud Azure Registration. SOURCE writes is not the clone envelope. Duplicate DELETE 400. Missing suppression_ids → 400. Unknown suppression_id → 400. If any suppression_id is unknown, 400 and no row is deleted. Create lab-issue-del first if missing. |
GET | /cloud-security-registration-azure/entities/issue-suppressions/v1 | Get suppressions. RPC GetSuppressions. SOURCE cloud-registration-azure-get-suppressions. PEP 8 cloud_registration_azure_get_suppressions. cloud-azure-registration:read. Query registration_id. Extra unused query filter / sort / limit / offset / parameters ignored. Success 200 MSA CloudAzureIssueSuppression (suppression_id, registration_id, issue_name, reason, created_at). Distinct from POST this suppressions path, DELETE this suppressions path, GET aggregates issue-suppressions-values-by-fields, GET issues, GET script-versions. SOURCE array is not the clone envelope. SOURCE-only category / entity_id / entity_type / impact / severity / suppressed_by / type omitted this slice. Missing registration_id → 400. Unknown registration_id → 400. reg-az-2 → 200 empty. GET registration_id=reg-az-1 returns persisted Suppression keys sup-az-1 then sup-az-2 first. |
POST | /cloud-security-registration-azure/entities/registrations/healthcheck/v1 | Trigger health check. RPC TriggerHealthCheck. SOURCE cloud-registration-azure-trigger-health-check. PEP 8 health_check. cloud-azure-registration:read. Query tenant_ids. Empty body. Extra unused query parameters ignored. Success 200 MSA CloudAzureHealthCheck (tenant_id). Distinct from GET this registration path, POST this registration path, DELETE this registration path, GET suppressions. SOURCE array is not the clone envelope. Request proto CloudAzureTriggerHealthCheckRequest (AWS already owns TriggerHealthCheckRequest in platform.v1). Duplicate ids count once. Missing/empty tenant_ids → 400. Unknown tenant → 400. POST tenant_ids=tenant-lab-1 returns tenant_id tenant-lab-1. GET registrations after still 200. |
POST | /cloud-security-registration-azure/entities/registrations/validate/v1 | Validate tenant. RPC ValidateRegistration. SOURCE cloud-registration-azure-validate-registration. PEP 8 validate_registration. cloud-azure-registration:read. Query tenant_id (required). Empty body. Extra unused query stack_name, parameters ignored. Success 200 MSA {tenant_id, status}. Distinct from POST healthcheck, GET this registration path, POST this registration path, PATCH this registration path, DELETE this registration path. SOURCE writes envelope is not the clone envelope. Missing/empty tenant_id → 400. Unknown tenant → 400. POST tenant_id=tenant-lab-1 returns tenant_id tenant-lab-1 status registered. GET registrations after still 200. |
GET | /cloud-security-registration-azure/entities/accounts/legacy/v1 | List legacy subscriptions. RPC GetLegacyAccounts. DESIGN GET (clone list; not a SOURCE leftover). Extra unused query parameters ignored. Success 200 MSA CloudAzureLegacyAccount (subscription_id, subscription_name, tenant_id, management_group_id). Distinct from DELETE this legacy path, GET this registration path, POST this registration path, DELETE this registration path, POST this suppressions path, CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1, and remaining Cloud Azure Registration. SOURCE array is not the clone envelope. |
DELETE | /cloud-security-registration-azure/entities/accounts/legacy/v1 | Delete a legacy subscription. RPC DeleteLegacySubscription. SOURCE cloud-registration-azure-delete-legacy-subscription. PEP 8 delete_legacy_subscription. cloud-azure-registration:write. Body JSON {subscription_id}. Extra unused tenant_id, retain_client, resources, status, and parameters ignored. Success 200 MSA CloudAzureLegacyAccount (subscription_id, subscription_name, tenant_id, management_group_id). Distinct from GET this legacy path, GET this registration path, POST this registration path, DELETE this registration path, POST this suppressions path, CSPM Azure DELETE /cloud-connect-cspm-azure/entities/account/v1, and remaining Cloud Azure Registration. SOURCE array is not the clone envelope. Duplicate DELETE 400. Missing subscription_id → 400. Unknown subscription_id → 400. |
POST | /cloud-security-registration-azure/entities/scripts/v1 | Download script. RPC DownloadScript. SOURCE cloud-registration-azure-download-script. PEP 8 download_script. cloud-azure-registration:write. Body JSON {tenant_id}. Extra unused status, parameters, and resources ignored. Success 200 MSA CloudAzureScript (cid, tenant_id, url, version). Distinct from GET this scripts path, GET this script-versions path, GET this issues path, CSPM Azure, POST this suppressions path, DELETE this suppressions path, DELETE this registration path, and DELETE this legacy path. SOURCE array / tenantId is not the clone envelope. Missing tenant_id → 400. Unknown tenant_id → 400. |
GET | /cloud-security-registration-azure/entities/scripts/v1 | Get script. RPC GetScript. SOURCE cloud-registration-azure-get-script. PEP 8 cloud_registration_azure_get_script. cloud-azure-registration:read. Query tenant_id. Extra unused query parameters ignored. Success 200 MSA CloudAzureScript (cid, tenant_id, url, version). Distinct from POST this scripts path, GET this script-versions path, GET this issues path, CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1. SOURCE error-only card is not the clone envelope. Missing tenant_id → 400. Unknown tenant_id → 400. |
GET | /cloud-security-registration-azure/entities/script-versions/v1 | Get script versions. RPC GetScriptVersions. SOURCE cloud-registration-azure-get-script-versions. PEP 8 cloud_registration_azure_get_script_versions. cloud-azure-registration:read. Extra unused query deployment_method / sort / limit / offset / parameters ignored. Success 200 MSA CloudAzureScriptVersion (version, deployment_method, download_url, published_date). Distinct from GET this scripts path, POST this scripts path, GET get-suppressions. SOURCE array is not the clone envelope. GET returns persisted version keys v1 bicep-deployment-stack then v1 bicep-legacy, download_url /help/cloud-azure-registration, published_date 2026-01-15. |
GET | /cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1 | Get issue suppression values by field. RPC GetIssueSuppressionValuesByField. SOURCE cloud-registration-azure-get-issue-suppression-values-by-field. PEP 8 cloud_registration_azure_get_issue_suppression_values_by_field. cloud-azure-registration:read. Query registration_id and field. Extra unused query parameters ignored. Success 200 MSA CloudAzureIssueSuppressionValue (value, count). Distinct from GET get-issue-values-by-field, GET get-issues, GET get-suppressions, POST this suppressions path, DELETE this suppressions path, and CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1. SOURCE array is not the clone envelope. Missing registration_id → 400. Missing field → 400. Unknown field → 400. Unknown registration_id → 400. Create lab-issue first if missing. |
GET | /cloud-security-registration-azure/aggregates/issues-values-by-fields/v1 | Get issue values by field. RPC GetIssueValuesByField. SOURCE cloud-registration-azure-get-issue-values-by-field. PEP 8 cloud_registration_azure_get_issue_values_by_field. cloud-azure-registration:read. Query registration_id and field. Extra unused query filter / parameters ignored. Success 200 MSA CloudAzureIssueValue (value, count). Distinct from GET get-issues, GET this aggregates path, GET get-suppressions, POST this suppressions path, DELETE this suppressions path, and CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1. SOURCE array is not the clone envelope. Missing registration_id → 400. Missing field → 400. Unknown field → 400. Unknown registration_id → 400. |
GET | /cloud-security-registration-azure/entities/issues/v1 | Get issues. RPC GetIssues. SOURCE cloud-registration-azure-get-issues. PEP 8 cloud_registration_azure_get_issues. cloud-azure-registration:read. Query registration_id. Extra unused query filter / sort / group_by / limit / offset / parameters ignored. Success 200 MSA CloudAzureIssue (issue_id, registration_id, issue, name, severity, category, impact, entity_type, entity_id, entity_name, status, feature). Distinct from GET get-issue-values-by-field, GET this aggregates path, GET get-suppressions, POST this suppressions path, DELETE this suppressions path, and CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1. SOURCE array is not the clone envelope. SOURCE-only first_seen / last_seen / region / impacted_entities omitted this slice. Missing registration_id → 400. Unknown registration_id → 400. reg-az-2 → 200 empty. |
Empty query params return every tenant in this CID. Extra unused
tenant_id, registration_id, and parameters are ignored. Default
sort is registration_id ascending. Cap is 100. Empty store → empty
resources, still 200.
JSON is snake_case MSA: tenant_id, registration_id, account_type,
status, cid, environment, tenant_name. Clone success is JSON
MSA 200, not SOURCE array and not SOURCE 207. POST clone success
is JSON MSA 200, not SOURCE array and not SOURCE 201.
POST body JSON {tenant_id, account_type, environment, tenant_name}.
Missing tenant_id → 400. Duplicate tenant_id → 400. Extra
unused subscription_ids, products, event_hub_settings,
additional_features, status, and parameters are ignored. Empty
account_type defaults commercial. Empty environment defaults
AzureCommercial. Clone POST success is 200 MSA
CloudAzureRegistration (not SOURCE array / 201). POST
tenant_id=tenant-lab-3 / account_type=commercial /
environment=AzureCommercial / tenant_name=Lab Tenant 3 returns that
tenant with registration_id reg-tenant-lab-3, status registered,
cid cid-local-1. cs-local-cazrw on POST → 200. cs-local-cazr
on POST → 403. cs-local-hosts on POST → 403. No auth on POST →
401. Session cookie can POST. cs-local-cazrw on GET → 403.
This is not CSPM POST /cloud-connect-cspm-azure/entities/account/v1
and not GET this registration path. Do not seed tenant-lab-3.
DELETE query tenant_ids (required) and an empty body. Missing
tenant_ids → 400. Unknown tenant_id → 400. Duplicate DELETE
→ 400. If any tenant_id is unknown, 400 and no row is deleted.
Extra unused query parameters is ignored. Clone DELETE success is
200 MSA CloudAzureRegistration (not SOURCE array). DELETE
tenant_ids=tenant-lab-3 returns registration_id reg-tenant-lab-3.
GET after DELETE lists reg-az-1 then reg-az-2. cs-local-cazrw on
DELETE → 200. cs-local-cazr on DELETE → 403. cs-local-hosts
on DELETE → 403. No auth on DELETE → 401. Session cookie can
DELETE. This is not CSPM DELETE
/cloud-connect-cspm-azure/entities/account/v1, not DELETE this
legacy path, not GET this registration path, and not POST this
registration path. Create tenant-lab-3 first if missing. Do not
seed tenant-lab-3.
POST suppressions body JSON {registration_id, issue_name, reason}.
Missing registration_id or issue_name → 400. Duplicate
suppression_id → 400. Unknown registration_id → 400. Extra
unused category, entity_id, entity_type, impact, severity,
suppressed_by, type, resources, status, and parameters are
ignored. Clone POST suppressions success is 200 MSA
CloudAzureIssueSuppression (not SOURCE array / 201). POST
registration_id=reg-az-1 / issue_name=lab-issue /
reason=lab reason returns suppression_id sup-reg-az-1-lab-issue,
registration_id reg-az-1, issue_name lab-issue, reason
lab reason, and created_at RFC3339. cs-local-cazrw on POST
suppressions → 200. cs-local-cazr on POST suppressions → 403.
cs-local-hosts on POST suppressions → 403. No auth on POST
suppressions → 401. Session cookie can POST suppressions. This is
not GET this suppressions path, not POST this registration
path, not GET this registration path, not DELETE this
suppressions path, and not CSPM Azure. Do
not seed suppressions.
DELETE suppressions body JSON {suppression_ids}. Missing
suppression_ids → 400. Duplicate DELETE → 400. Unknown
suppression_id → 400. If any suppression_id is unknown,
400 and no row is deleted. Extra unused status, parameters,
and resources are ignored. Clone DELETE suppressions success is
200 MSA CloudAzureIssueSuppression (not SOURCE writes). DELETE
suppression_ids=["sup-reg-az-1-lab-issue-del"] returns that row
(registration_id reg-az-1, issue_name lab-issue-del, reason
lab reason del, created_at RFC3339). cs-local-cazrw on DELETE
suppressions → 200. cs-local-cazr on DELETE suppressions →
403. cs-local-hosts on DELETE suppressions → 403. No auth on
DELETE suppressions → 401. Session cookie can DELETE suppressions.
This is not GET this suppressions path, not POST this
suppressions path, not DELETE this registration path, not
DELETE this legacy path, and not CSPM Azure. Create lab-issue-del
first if missing. Do not seed suppressions. SOURCE writes is not the clone envelope.
POST scripts body JSON {tenant_id}. Missing tenant_id → 400.
Unknown tenant_id → 400. Extra unused status, parameters,
and resources are ignored. Clone POST scripts success is 200 MSA
CloudAzureScript (not SOURCE array / tenantId). POST
tenant_id=tenant-lab-1 returns cid cid-local-1, tenant_id
tenant-lab-1, url /help/cloud-azure-registration, and version
v1. cs-local-cazrw on POST scripts → 200. cs-local-cazr on
POST scripts → 403. cs-local-hosts on POST scripts → 403. No
auth on POST scripts → 401. Session cookie can POST scripts. This
is not GET this scripts path, not GET this script-versions path, not GET this issues path, not CSPM Azure, not POST
this suppressions path, not DELETE this suppressions path, not
DELETE this registration path, and not DELETE this legacy path.
SOURCE array / tenantId is not the clone envelope.
GET aggregates query registration_id and field. Missing
registration_id → 400. Missing field → 400. Unknown
field → 400. Unknown registration_id → 400. Extra unused
query parameters is ignored. Clone GET aggregates success is 200
MSA CloudAzureIssueSuppressionValue (not SOURCE array). GET
registration_id=reg-az-1 / field=issue_name after POST lab-issue
returns {value, count} including lab-issue. cs-local-cazr on GET
aggregates → 200. cs-local-cazrw on GET aggregates → 403.
cs-local-hosts on GET aggregates → 403. No auth on GET aggregates
→ 401. Session cookie can GET aggregates. This is not GET
get-issue-values-by-field, not GET get-issues, not GET
get-suppressions, not POST this suppressions path, not DELETE
this suppressions path, and not CSPM Azure. SOURCE array is not
the clone envelope. Create lab-issue first if missing.
GET issues-values-by-fields query registration_id and field. Missing
registration_id → 400. Missing field → 400. Unknown
field → 400. Unknown registration_id → 400. Extra unused
query filter / parameters are ignored. Clone GET
issues-values-by-fields success is 200 MSA CloudAzureIssueValue
(not SOURCE array). GET registration_id=reg-az-1 / field=severity
returns {value, count} including high then medium.
cs-local-cazr on GET issues-values-by-fields → 200.
cs-local-cazrw on GET issues-values-by-fields → 403.
cs-local-hosts on GET issues-values-by-fields → 403. No auth on
GET issues-values-by-fields → 401. Session cookie can GET
issues-values-by-fields. This is not GET get-issues, not GET
this aggregates path, not GET get-suppressions, not POST this
suppressions path, not DELETE this suppressions path, and not
CSPM Azure. SOURCE array is not the clone envelope.
GET issues query registration_id. Missing registration_id → 400.
Unknown registration_id → 400. Extra unused query filter /
sort / group_by / limit / offset / parameters are ignored.
Clone GET issues success is 200 MSA CloudAzureIssue (not SOURCE
array). GET registration_id=reg-az-1 returns persisted Issue keys
including issue-az-1 then issue-az-2. reg-az-2 → 200 empty.
cs-local-cazr on GET issues → 200. cs-local-cazrw on GET
issues → 403. cs-local-hosts on GET issues → 403. No auth on
GET issues → 401. Session cookie can GET issues. This is not
GET get-issue-values-by-field, not GET this aggregates path,
not GET get-suppressions, not POST this suppressions path,
not DELETE this suppressions path, and not CSPM Azure. SOURCE
array is not the clone envelope. SOURCE-only first_seen /
last_seen / region / impacted_entities omitted this slice.
GET scripts query tenant_id. Missing tenant_id → 400. Unknown
tenant_id → 400. Extra unused query parameters is ignored.
Clone GET scripts success is 200 MSA CloudAzureScript (not SOURCE
error-only card). GET tenant_id=tenant-lab-1 returns cid
cid-local-1, tenant_id tenant-lab-1, url
/help/cloud-azure-registration, and version v1. cs-local-cazr
on GET scripts → 200. cs-local-cazrw on GET scripts → 403.
cs-local-hosts on GET scripts → 403. No auth on GET scripts →
401. Session cookie can GET scripts. This is not POST this
scripts path, not GET this script-versions path, not GET
this issues path, not CSPM Azure, not POST this suppressions
path, not DELETE this suppressions path, not DELETE this
registration path, and not DELETE this legacy path. SOURCE
error-only card is not the clone envelope.
GET script-versions ignores extra unused query deployment_method /
sort / limit / offset / parameters. Clone GET script-versions
success is 200 MSA CloudAzureScriptVersion (not SOURCE array). GET
returns persisted version keys v1 bicep-deployment-stack then v1
bicep-legacy, download_url /help/cloud-azure-registration,
published_date 2026-01-15. cs-local-cazr on GET script-versions
→ 200. cs-local-cazrw on GET script-versions → 403.
cs-local-hosts on GET script-versions → 403. No auth on GET
script-versions → 401. Session cookie can GET script-versions.
This is not GET this scripts path, not POST this scripts
path, and not GET get-suppressions. SOURCE array is not the
clone envelope.
GET suppressions query registration_id. Missing registration_id →
400. Unknown registration_id → 400. Extra unused query
filter / sort / limit / offset / parameters are ignored.
Clone GET suppressions success is 200 MSA
CloudAzureIssueSuppression (not SOURCE array). GET
registration_id=reg-az-1 returns persisted Suppression keys
sup-az-1 then sup-az-2 first. reg-az-2 → 200 empty.
cs-local-cazr on GET suppressions → 200. cs-local-cazrw on GET
suppressions → 403. cs-local-hosts on GET suppressions → 403.
No auth on GET suppressions → 401. Session cookie can GET
suppressions. This is not POST this suppressions path, not
DELETE this suppressions path, not GET aggregates
issue-suppressions-values-by-fields, not GET issues, and not
GET script-versions. SOURCE array is not the clone envelope.
SOURCE-only category / entity_id / entity_type / impact /
severity / suppressed_by / type omitted this slice.
POST healthcheck query tenant_ids. Missing/empty tenant_ids →
400. Unknown tenant → 400. Extra unused query parameters is
ignored. Empty body. Duplicate ids count once. Clone POST healthcheck
success is 200 MSA CloudAzureHealthCheck (not SOURCE array). POST
tenant_ids=tenant-lab-1 returns tenant_id tenant-lab-1. GET
registrations after still 200. cs-local-cazr on POST healthcheck
→ 200. cs-local-cazrw on POST healthcheck → 403.
cs-local-hosts on POST healthcheck → 403. No auth on POST
healthcheck → 401. Session cookie can POST healthcheck. This is
not GET this registration path, not POST this registration
path, not DELETE this registration path, and not GET
suppressions. SOURCE array is not the clone envelope. Request
proto CloudAzureTriggerHealthCheckRequest (AWS already owns
TriggerHealthCheckRequest in platform.v1). RPC TriggerHealthCheck.
SOURCE cloud-registration-azure-trigger-health-check. PEP 8
health_check.
POST validate query tenant_id (required). Missing/empty tenant_id →
400. Unknown tenant → 400. Extra unused query stack_name and
parameters are ignored. Empty body. Clone POST validate success is
200 MSA {tenant_id, status}. SOURCE writes envelope is not
the clone envelope. POST tenant_id=tenant-lab-1 returns tenant_id
tenant-lab-1 status registered. GET registrations after still
200. cs-local-cazr on POST validate → 200. cs-local-cazrw
on POST validate → 403. cs-local-hosts on POST validate →
403. No auth on POST validate → 401. Session cookie can POST
validate. This is not POST this healthcheck path, not GET this
registration path, not POST this registration path, not PATCH
this registration path, and not DELETE this registration path.
RPC ValidateRegistration. SOURCE
cloud-registration-azure-validate-registration. PEP 8
validate_registration.
PATCH body JSON {tenant_id, account_type, environment, tenant_name, status}. tenant_id is required. Missing tenant_id → 400.
Unknown tenant_id → 400. Extra unused subscription_ids,
products, event_hub_settings, additional_features, parameters,
and resources are ignored. Empty account_type / environment /
tenant_name / status keep the stored value. Clone PATCH success is
200 MSA CloudAzureRegistration (not SOURCE array). PATCH
tenant_id=tenant-lab-2 / account_type=gov returns reg-az-2 with
account_type gov, status registered, cid cid-local-1.
GET after PATCH lists tenant-lab-1 commercial then tenant-lab-2 gov.
cs-local-cazrw on PATCH → 200. cs-local-cazr on PATCH →
403. cs-local-hosts on PATCH → 403. No auth on PATCH →
401. Session cookie can PATCH. This is not POST this
registration path, not GET this registration path, not DELETE
this registration path, and not POST healthcheck. SOURCE array is
not the clone envelope. RPC UpdateRegistration. SOURCE
cloud-registration-azure-update-registration. PEP 8
update_registration.
PATCH suppressions body JSON {suppression_id, reason}.
suppression_id is required. Missing suppression_id → 400.
Unknown suppression_id → 400. Extra unused resources,
category, entity_id, entity_type, impact, severity,
suppressed_by, type, status, and parameters are ignored. Empty
reason keeps the stored value. Extra unused expansion fields and
SOURCE resources wrap ignored. Clone PATCH suppressions success is
200 MSA CloudAzureIssueSuppression (not SOURCE array). PATCH
suppression_id=sup-az-1 / reason=policy-reviewed returns sup-az-1
with reason policy-reviewed, registration_id reg-az-1,
issue_name misconfig-1, created_at 2026-01-15. GET after PATCH
lists sup-az-1 policy-reviewed then sup-az-2 policy-exception
first. cs-local-cazrw on PATCH suppressions → 200. cs-local-cazr
on PATCH suppressions → 403. cs-local-hosts on PATCH suppressions
→ 403. No auth on PATCH suppressions → 401. Session cookie can
PATCH suppressions. This is not POST this suppressions path, not
GET this suppressions path, not DELETE this suppressions path, and
not PATCH this registration path. SOURCE array is not the clone
envelope. RPC UpdateSuppressions. SOURCE
cloud-registration-azure-update-suppressions. PEP 8
cloud_registration_azure_update_suppressions.
This is not CSPM Azure, Cloud AWS Registration, Kubernetes Azure,
Kubernetes, Hosts, or the HelloService template. CSPM Azure uses
GET /cloud-connect-cspm-azure/entities/account/v1 and
POST /cloud-connect-cspm-azure/entities/account/v1:
CSPM Azure. Cloud AWS Registration uses
GET /cloud-security-registration-aws/entities/account/v1:
Cloud AWS Registration. Kubernetes Azure
uses /kubernetes-protection/entities/accounts/azure/v1:
K8s Azure. Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet).
Seed tenants
registration_id | tenant_id | account_type | status | cid | environment | tenant_name |
|---|---|---|---|---|---|---|
reg-az-1 | tenant-lab-1 | commercial | registered | cid-local-1 | AzureCommercial | Lab Tenant 1 |
reg-az-2 | tenant-lab-2 | commercial | registered | cid-local-1 | AzureCommercial | Lab Tenant 2 |
Empty filters return both, reg-az-1 then reg-az-2. Extra unused
tenant_id, registration_id, and parameters still return both. Do
not seed tenant-lab-3.
Seed legacy subscriptions
subscription_id | subscription_name | tenant_id | management_group_id |
|---|---|---|---|
sub-az-legacy-1 | Lab Legacy 1 | tenant-lab-1 | mg-lab-1 |
sub-az-legacy-2 | Lab Legacy 2 | tenant-lab-1 | mg-lab-1 |
Empty filters return both, sub-az-legacy-1 then sub-az-legacy-2.
Extra unused parameters still return both. Do not delete
sub-az-legacy-2 in these examples.
Session cookie
curl -sS -c cookies.txt -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"FalconLocal!1","cloud":"us-1"}' \
http://127.0.0.1:8088/identity/entities/sessions/v1
List tenants (cookie)
Empty filters return reg-az-1 then reg-az-2 with cid
cid-local-1. Success is 200 MSA CloudAzureRegistration. Extra
unused query keys (tenant_id, registration_id, parameters) are
ignored. SOURCE JSON array is not the clone envelope. This is
not CSPM GET /cloud-connect-cspm-azure/entities/account/v1,
not Cloud AWS Registration GET
/cloud-security-registration-aws/entities/account/v1, and not POST
this registration path:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Extra unused query keys are ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_id=ignored®istration_id=ignored¶meters=ignored'
cs-local-hosts (hosts:read only) is 403 on GET:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cspm (cspm-registration:read) is 403 on GET:
TOKEN='<access_token from cs-local-cspm>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cawsr (cloud-aws-registration:read) is 403 on GET:
TOKEN='<access_token from cs-local-cawsr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
No cookie and no Bearer is 401 on GET:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). CSPM Azure is a
separate collection (/cloud-connect-cspm-azure/entities/account/v1):
CSPM Azure. Cloud AWS Registration is a
separate collection
(/cloud-security-registration-aws/entities/account/v1):
Cloud AWS Registration. This is not the
HelloService template (GET /api/hello). GET this registration path is
distinct from POST this registration path and DELETE this registration
path.
Create tenant (cookie)
POST tenant_id=tenant-lab-3 / account_type=commercial /
environment=AzureCommercial / tenant_name=Lab Tenant 3 returns that
tenant with registration_id reg-tenant-lab-3, status registered,
and cid cid-local-1. Success is 200 MSA
CloudAzureRegistration. Extra unused subscription_ids, products,
event_hub_settings, additional_features, status, and parameters
are ignored. SOURCE JSON array / 201 is not the clone envelope.
This is not CSPM POST /cloud-connect-cspm-azure/entities/account/v1
and not GET this registration path:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Duplicate POST is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Missing tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Extra unused subscription_ids, products, event_hub_settings,
additional_features, status, and parameters are ignored:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3","subscription_ids":["ignored"],"products":["ignored"],"event_hub_settings":{},"additional_features":[],"status":"ignored","parameters":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on POST:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on POST:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-hosts (hosts:read only) is 403 on POST:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
No cookie and no Bearer is 401 on POST:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). POST this registration path is distinct from GET
this registration path and DELETE this registration path. This is
not the HelloService template
(GET /api/hello).
Delete tenant (cookie)
DELETE tenant_ids=tenant-lab-3 returns that row
(registration_id reg-tenant-lab-3, account_type commercial,
status registered, cid cid-local-1, environment AzureCommercial,
tenant_name Lab Tenant 3). Success is 200 MSA
CloudAzureRegistration. Extra unused query parameters is ignored.
SOURCE JSON array is not the clone envelope. Create that row first
if it is missing. GET after DELETE lists reg-az-1 then reg-az-2
(no reg-tenant-lab-3). This is not GET this registration path,
not POST this registration path, not POST this suppressions
path, not DELETE this legacy path, not CSPM Azure DELETE
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. RPC DeleteRegistration. SOURCE
cloud-registration-azure-delete-registration. PEP 8
delete_registration. Empty body. Query tenant_ids:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
Duplicate DELETE is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
Missing tenant_ids is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Unknown tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-unknown'
Extra unused query parameters is ignored:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3¶meters=ignored'
cs-local-cazrw (cloud-azure-registration:write) is 200 on DELETE:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
cs-local-cazr (cloud-azure-registration:read) is 403 on DELETE:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
cs-local-hosts (hosts:read only) is 403 on DELETE:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
No cookie and no Bearer is 401 on DELETE:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). DELETE this registration path is distinct from
GET this registration path, POST this registration path, POST this
suppressions path, DELETE this legacy path, CSPM Azure, and remaining
Cloud Azure Registration. This is not the HelloService template
(GET /api/hello). SOURCE array is not the clone envelope.
Update tenant (cookie)
PATCH tenant_id=tenant-lab-2 / account_type=gov returns that tenant
with registration_id reg-az-2, status registered, and cid
cid-local-1. Success is 200 MSA CloudAzureRegistration. Extra
unused subscription_ids, products, event_hub_settings,
additional_features, parameters, and resources are ignored. Empty
account_type / environment / tenant_name / status keep the
stored value. SOURCE JSON array is not the clone envelope. GET
after PATCH lists tenant-lab-1 commercial then tenant-lab-2 gov. This
is not POST this registration path, not GET this registration
path, not DELETE this registration path, and not POST
healthcheck. RPC UpdateRegistration. SOURCE
cloud-registration-azure-update-registration. PEP 8
update_registration.
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Missing tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Unknown tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-unknown","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Extra unused subscription_ids, products, event_hub_settings,
additional_features, parameters, and resources are ignored:
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov","subscription_ids":["ignored"],"products":["ignored"],"event_hub_settings":{},"additional_features":[],"parameters":"ignored","resources":[]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Empty account_type / environment / tenant_name / status keep
stored values:
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on PATCH:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on PATCH:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cs-local-hosts (hosts:read only) is 403 on PATCH:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
No cookie and no Bearer is 401 on PATCH:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). PATCH this registration path is distinct from
POST this registration path, GET this registration path, DELETE this
registration path, and POST this healthcheck path. This is not the
HelloService template (GET /api/hello). SOURCE array is not the
clone envelope.
Create suppression (cookie)
POST registration_id=reg-az-1 / issue_name=lab-issue /
reason=lab reason returns suppression_id sup-reg-az-1-lab-issue,
registration_id reg-az-1, issue_name lab-issue, reason
lab reason, and created_at RFC3339. Success is 200 MSA
CloudAzureIssueSuppression. Extra unused category, entity_id,
entity_type, impact, severity, suppressed_by, type,
resources, status, and parameters are ignored. SOURCE JSON array
/ 201 is not the clone envelope. This is not GET this
suppressions path, not POST this registration path, not GET
this registration path, and not CSPM Azure POST
/cloud-connect-cspm-azure/entities/account/v1. Do not GET this
suppressions path:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Duplicate POST is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Missing registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Missing issue_name is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Unknown registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-missing","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Extra unused category, entity_id, entity_type, impact,
severity, suppressed_by, type, resources, status, and
parameters are ignored:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason","category":"ignored","entity_id":"ignored","entity_type":"ignored","impact":"ignored","severity":"ignored","suppressed_by":"ignored","type":"ignored","resources":[],"status":"ignored","parameters":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on POST
suppressions:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on POST
suppressions:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-hosts (hosts:read only) is 403 on POST suppressions:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
No cookie and no Bearer is 401 on POST suppressions:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). POST this suppressions path is distinct from GET
this suppressions path, POST this registration path, GET this
registration path, and DELETE this suppressions path. This is not
the HelloService template
(GET /api/hello).
Update suppression (cookie)
PATCH suppression_id=sup-az-1 / reason=policy-reviewed returns that
suppression with registration_id reg-az-1, issue_name
misconfig-1, and created_at 2026-01-15. Success is 200 MSA
CloudAzureIssueSuppression. Extra unused resources, category,
entity_id, entity_type, impact, severity, suppressed_by,
type, status, and parameters are ignored. Empty reason keeps
the stored value. Extra unused expansion fields and SOURCE resources
wrap ignored. SOURCE JSON array is not the clone envelope. GET
after PATCH lists sup-az-1 policy-reviewed then sup-az-2
policy-exception first. This is not POST this suppressions path,
not GET this suppressions path, not DELETE this suppressions
path, and not PATCH this registration path. RPC
UpdateSuppressions. SOURCE
cloud-registration-azure-update-suppressions. PEP 8
cloud_registration_azure_update_suppressions.
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Missing suppression_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Unknown suppression_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-unknown","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Extra unused resources, category, entity_id, entity_type,
impact, severity, suppressed_by, type, status, and
parameters are ignored:
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed","resources":[{"id":"ignored"}],"category":"ignored","entity_id":"ignored","entity_type":"ignored","impact":"ignored","severity":"ignored","suppressed_by":"ignored","type":"ignored","status":"ignored","parameters":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Empty reason keeps stored values:
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on PATCH
suppressions:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on PATCH
suppressions:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-hosts (hosts:read only) is 403 on PATCH suppressions:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
No cookie and no Bearer is 401 on PATCH suppressions:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X PATCH -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). PATCH this suppressions path is distinct from
POST this suppressions path, GET this suppressions path, DELETE this
suppressions path, and PATCH this registration path. This is not the
HelloService template (GET /api/hello). SOURCE array is not the
clone envelope. Extra unused expansion fields and SOURCE resources
wrap ignored.
Delete suppression (cookie)
DELETE suppression_ids=["sup-reg-az-1-lab-issue-del"] returns that
row (registration_id reg-az-1, issue_name lab-issue-del,
reason lab reason del, created_at RFC3339). Success is 200
MSA CloudAzureIssueSuppression. Extra unused status, parameters,
and resources are ignored. SOURCE writes is not the clone
envelope. Create that row first if it is missing. This is not GET
this suppressions path, not POST this suppressions path, not
DELETE this registration path, not DELETE this legacy path, not
CSPM Azure DELETE /cloud-connect-cspm-azure/entities/account/v1, and
not remaining Cloud Azure Registration. RPC DeleteSuppressions.
SOURCE cloud-registration-azure-delete-suppressions. PEP 8
cloud_registration_azure_delete_suppressions:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Duplicate DELETE is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Missing suppression_ids is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"status":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Unknown suppression_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-unknown"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Extra unused status, parameters, and resources are ignored:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"],"status":"ignored","parameters":"ignored","resources":[{"id":"x"}]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on DELETE
suppressions:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on DELETE
suppressions:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cs-local-hosts (hosts:read only) is 403 on DELETE suppressions:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
No cookie and no Bearer is 401 on DELETE suppressions:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). DELETE this suppressions path is distinct from
GET this suppressions path, POST this suppressions path, DELETE this
registration path, DELETE this legacy path, CSPM Azure, tenant Delete,
and remaining Cloud Azure Registration. This is not the HelloService
template (GET /api/hello). SOURCE writes is not the clone
envelope.
List legacy (cookie)
Empty filters return sub-az-legacy-1 then sub-az-legacy-2. Success
is 200 MSA CloudAzureLegacyAccount (subscription_id,
subscription_name, tenant_id, management_group_id). Extra unused
query parameters is ignored. SOURCE JSON array is not the clone
envelope. This is not GET this registration path, not POST this
registration path, not POST this suppressions path, not DELETE
this legacy path, not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. RPC GetLegacyAccounts is DESIGN GET (clone
list; not a SOURCE leftover):
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Extra unused query parameters is ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1?parameters=ignored'
cs-local-hosts (hosts:read only) is 403 on GET legacy:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
legacy:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
No cookie and no Bearer is 401 on GET legacy:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this legacy path is distinct from DELETE
this legacy path, GET this registration path, POST this registration
path, POST this suppressions path, CSPM Azure, and remaining Cloud Azure
Registration. This is not the HelloService template
(GET /api/hello).
Delete legacy (cookie)
DELETE subscription_id=sub-az-legacy-1 returns that row
(subscription_name Lab Legacy 1, tenant_id tenant-lab-1,
management_group_id mg-lab-1). Success is 200 MSA
CloudAzureLegacyAccount. Extra unused tenant_id, retain_client,
resources, status, and parameters are ignored. SOURCE JSON array
is not the clone envelope. GET after DELETE lists only
sub-az-legacy-2. This is not GET this legacy path, not GET
this registration path, not POST this registration path, not
POST this suppressions path, not CSPM Azure DELETE
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. RPC DeleteLegacySubscription. SOURCE
cloud-registration-azure-delete-legacy-subscription. PEP 8
delete_legacy_subscription:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Duplicate DELETE is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Missing subscription_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Unknown subscription_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-unknown"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Extra unused tenant_id, retain_client, resources, status, and
parameters are ignored:
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1","tenant_id":"ignored-tenant","retain_client":"true","resources":[{"id":"x"}],"status":"ignored","parameters":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on DELETE
legacy:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on DELETE
legacy:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cs-local-hosts (hosts:read only) is 403 on DELETE legacy:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
No cookie and no Bearer is 401 on DELETE legacy:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X DELETE -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). DELETE this legacy path is distinct from GET
this legacy path, GET this registration path, POST this registration
path, POST this suppressions path, CSPM Azure, and remaining Cloud Azure
Registration. This is not the HelloService template
(GET /api/hello). SOURCE array is not the clone envelope.
Download script (cookie)
POST tenant_id=tenant-lab-1 returns cid cid-local-1,
tenant_id tenant-lab-1, url /help/cloud-azure-registration,
and version v1. Success is 200 MSA CloudAzureScript. Extra
unused status, parameters, and resources are ignored. SOURCE
array / tenantId is not the clone envelope. This is not GET
this scripts path, not GET this script-versions path, not
GET this issues path, not CSPM Azure, not POST this
suppressions path, not DELETE this suppressions path, not
DELETE this registration path, and not DELETE this legacy path.
RPC DownloadScript. SOURCE
cloud-registration-azure-download-script. PEP 8
download_script:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
Missing tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"status":"ignored"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
Unknown tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-unknown"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
Extra unused status, parameters, and resources are ignored:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1","status":"ignored","parameters":"ignored","resources":[{"id":"x"}]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
cs-local-cazrw (cloud-azure-registration:write) is 200 on POST
scripts:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
cs-local-cazr (cloud-azure-registration:read) is 403 on POST
scripts:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
cs-local-hosts (hosts:read only) is 403 on POST scripts:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
No cookie and no Bearer is 401 on POST scripts:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). POST this scripts path is distinct from GET
this scripts path, GET this script-versions path, GET this issues
path, CSPM Azure, suppressions, tenant Delete, and
legacy Delete. This is not the HelloService template
(GET /api/hello). SOURCE array / tenantId is not the clone
envelope.
Get suppression values (cookie)
Create suppression lab-issue on reg-az-1 first if it is missing.
GET registration_id=reg-az-1 / field=issue_name returns MSA
{value, count} including lab-issue. Success is 200 MSA
CloudAzureIssueSuppressionValue. Extra unused query parameters is
ignored. SOURCE JSON array is not the clone envelope. This is
not GET get-issue-values-by-field, not GET get-issues, not
GET get-suppressions, not POST this suppressions path, not
DELETE this suppressions path, and not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1. RPC
GetIssueSuppressionValuesByField. SOURCE
cloud-registration-azure-get-issue-suppression-values-by-field. PEP 8
cloud_registration_azure_get_issue_suppression_values_by_field. Query
registration_id and field. POST create first if missing:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
GET registration_id=reg-az-1 / field=issue_name is 200 MSA
including lab-issue:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
Extra unused query parameters is ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name¶meters=ignored'
Missing registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?field=issue_name'
Missing field is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1'
Unknown field is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=unknown'
Unknown registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-missing&field=issue_name'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
aggregates:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
aggregates:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
cs-local-hosts (hosts:read only) is 403 on GET aggregates:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
No cookie and no Bearer is 401 on GET aggregates:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this aggregates path is distinct from GET
get-issue-values-by-field, GET get-issues, GET get-suppressions, POST
this suppressions path, DELETE this suppressions path, and CSPM Azure.
This is not the HelloService template (GET /api/hello). SOURCE
array is not the clone envelope. Create lab-issue first if
missing.
Get issue values (cookie)
GET registration_id=reg-az-1 / field=severity returns MSA
{value, count} including high then medium. Success is 200 MSA
CloudAzureIssueValue. Extra unused query filter / parameters are
ignored. SOURCE JSON array is not the clone envelope. This is
not GET get-issues, not GET this aggregates path, not GET
get-suppressions, not POST this suppressions path, not DELETE
this suppressions path, and not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1. RPC
GetIssueValuesByField. SOURCE
cloud-registration-azure-get-issue-values-by-field. PEP 8
cloud_registration_azure_get_issue_values_by_field. Query
registration_id and field:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
Extra unused query filter / parameters are ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity&filter=ignored¶meters=ignored'
Missing registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?field=severity'
Missing field is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1'
Unknown field is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=unknown'
Unknown registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-missing&field=severity'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
issues-values-by-fields:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
issues-values-by-fields:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
cs-local-hosts (hosts:read only) is 403 on GET
issues-values-by-fields:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
No cookie and no Bearer is 401 on GET issues-values-by-fields:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this issues-values-by-fields path is
distinct from GET get-issues, GET this aggregates path, GET
get-suppressions, POST this suppressions path, DELETE this suppressions
path, and CSPM Azure. This is not the HelloService template
(GET /api/hello). SOURCE array is not the clone envelope.
Get issues (cookie)
GET registration_id=reg-az-1 returns MSA persisted Issue keys
including issue-az-1 then issue-az-2. Success is 200 MSA
CloudAzureIssue (issue_id, registration_id, issue, name,
severity, category, impact, entity_type, entity_id,
entity_name, status, feature). Extra unused query filter /
sort / group_by / limit / offset / parameters are ignored.
SOURCE JSON array is not the clone envelope. SOURCE-only
first_seen / last_seen / region / impacted_entities omitted
this slice. This is not GET get-issue-values-by-field, not GET
this aggregates path, not GET get-suppressions, not POST this
suppressions path, not DELETE this suppressions path, and not
CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1. RPC
GetIssues. SOURCE cloud-registration-azure-get-issues. PEP 8
cloud_registration_azure_get_issues. Query registration_id:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
Extra unused query filter / sort / group_by / limit / offset /
parameters are ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1&filter=ignored&sort=ignored&group_by=ignored&limit=ignored&offset=ignored¶meters=ignored'
Missing registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1'
Unknown registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-missing'
reg-az-2 is 200 empty:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-2'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
issues:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
issues:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
cs-local-hosts (hosts:read only) is 403 on GET issues:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
No cookie and no Bearer is 401 on GET issues:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this issues path is distinct from GET
get-issue-values-by-field, GET this aggregates path, GET
get-suppressions, POST this suppressions path, DELETE this suppressions
path, and CSPM Azure. This is not the HelloService template
(GET /api/hello). SOURCE array is not the clone envelope.
SOURCE-only first_seen / last_seen / region / impacted_entities
omitted this slice.
Get script (cookie)
GET tenant_id=tenant-lab-1 returns MSA CloudAzureScript with url
/help/cloud-azure-registration and version v1. Success is 200
MSA CloudAzureScript (cid, tenant_id, url, version). Extra
unused query parameters is ignored. SOURCE error-only card is not
the clone envelope. This is not POST this scripts path, not GET
this script-versions path, not GET this issues path, not
CSPM Azure GET /cloud-connect-cspm-azure/entities/account/v1, not
POST this suppressions path, not DELETE this suppressions path,
not DELETE this registration path, and not DELETE this legacy
path. RPC GetScript. SOURCE
cloud-registration-azure-get-script. PEP 8
cloud_registration_azure_get_script. Query tenant_id:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
Extra unused query parameters is ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1¶meters=ignored'
Missing tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
Unknown tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-unknown'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
scripts:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
scripts:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
cs-local-hosts (hosts:read only) is 403 on GET scripts:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
No cookie and no Bearer is 401 on GET scripts:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this scripts path is distinct from POST
this scripts path, GET this script-versions path, GET this issues
path, CSPM Azure, suppressions, tenant Delete, and legacy Delete. This
is not the HelloService template (GET /api/hello). SOURCE
error-only card is not the clone envelope.
Get script versions (cookie)
GET returns MSA persisted version keys v1 bicep-deployment-stack
then v1 bicep-legacy, download_url
/help/cloud-azure-registration, published_date 2026-01-15.
Success is 200 MSA CloudAzureScriptVersion (version,
deployment_method, download_url, published_date). Extra unused
query deployment_method / sort / limit / offset /
parameters are ignored. SOURCE JSON array is not the clone
envelope. This is not GET this scripts path, not POST this
scripts path, and not GET get-suppressions. RPC
GetScriptVersions. SOURCE
cloud-registration-azure-get-script-versions. PEP 8
cloud_registration_azure_get_script_versions:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
Extra unused query deployment_method / sort / limit / offset /
parameters are ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1?deployment_method=ignored&sort=ignored&limit=ignored&offset=ignored¶meters=ignored'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
script-versions:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
script-versions:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
cs-local-hosts (hosts:read only) is 403 on GET script-versions:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
No cookie and no Bearer is 401 on GET script-versions:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this script-versions path is distinct from GET
this scripts path, POST this scripts path, and GET get-suppressions. This
is not the HelloService template (GET /api/hello). SOURCE array is
not the clone envelope.
Get suppressions (cookie)
GET registration_id=reg-az-1 returns MSA persisted Suppression keys
sup-az-1 then sup-az-2 first. Success is 200 MSA
CloudAzureIssueSuppression (suppression_id, registration_id,
issue_name, reason, created_at). Extra unused query filter /
sort / limit / offset / parameters are ignored. SOURCE JSON
array is not the clone envelope. SOURCE-only category /
entity_id / entity_type / impact / severity / suppressed_by /
type omitted this slice. This is not POST this suppressions
path, not DELETE this suppressions path, not GET aggregates
issue-suppressions-values-by-fields, not GET issues, and not
GET script-versions. RPC GetSuppressions. SOURCE
cloud-registration-azure-get-suppressions. PEP 8
cloud_registration_azure_get_suppressions. Query registration_id:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
Extra unused query filter / sort / limit / offset /
parameters are ignored:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1&filter=ignored&sort=ignored&limit=ignored&offset=ignored¶meters=ignored'
Missing registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
Unknown registration_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-missing'
reg-az-2 is 200 empty:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-2'
cs-local-cazr (cloud-azure-registration:read) is 200 on GET
suppressions:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on GET
suppressions:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
cs-local-hosts (hosts:read only) is 403 on GET suppressions:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
No cookie and no Bearer is 401 on GET suppressions:
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). GET this suppressions path is distinct from POST
this suppressions path, DELETE this suppressions path, GET aggregates
issue-suppressions-values-by-fields, GET this issues path, and GET this
script-versions path. This is not the HelloService template
(GET /api/hello). SOURCE array is not the clone envelope.
SOURCE-only category / entity_id / entity_type / impact /
severity / suppressed_by / type omitted this slice.
Trigger health check (cookie)
POST tenant_ids=tenant-lab-1 returns MSA {tenant_id}
tenant-lab-1. Success is 200 MSA CloudAzureHealthCheck
(tenant_id). Extra unused query parameters is ignored. Empty body.
Duplicate ids count once. SOURCE JSON array is not the clone
envelope. This is not GET this registration path, not POST this
registration path, not DELETE this registration path, and not
GET suppressions. RPC TriggerHealthCheck. SOURCE
cloud-registration-azure-trigger-health-check. PEP 8 health_check.
Request proto CloudAzureTriggerHealthCheckRequest (AWS already owns
TriggerHealthCheckRequest in platform.v1). Query tenant_ids:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
Extra unused query parameters is ignored:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1¶meters=ignored'
Missing tenant_ids is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1'
Unknown tenant is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-unknown'
cs-local-cazr (cloud-azure-registration:read) is 200 on POST
healthcheck:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on POST
healthcheck:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
cs-local-hosts (hosts:read only) is 403 on POST healthcheck:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
No cookie and no Bearer is 401 on POST healthcheck:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). POST this healthcheck path is distinct from GET
this registration path, POST this registration path, DELETE this
registration path, and GET this suppressions path. This is not the
HelloService template (GET /api/hello). SOURCE array is not the
clone envelope. Request proto CloudAzureTriggerHealthCheckRequest
(AWS already owns TriggerHealthCheckRequest in platform.v1).
Validate tenant (cookie)
POST tenant_id=tenant-lab-1 returns tenant_id tenant-lab-1
status registered. Success is 200 MSA {tenant_id, status}.
Extra unused query stack_name and parameters are ignored. Empty
body. SOURCE writes envelope is not the clone envelope. GET
registrations after this POST still 200. This is not POST this
healthcheck path, not GET this registration path, not POST this
registration path, not PATCH this registration path, and not
DELETE this registration path. RPC ValidateRegistration. SOURCE
cloud-registration-azure-validate-registration. PEP 8
validate_registration. Query tenant_id:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
Extra unused query stack_name is ignored:
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1&stack_name=ignored¶meters=ignored'
Missing tenant_id is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1'
Unknown tenant is 400:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-unknown'
cs-local-cazr (cloud-azure-registration:read) is 200 on POST
validate:
TOKEN='<access_token from cs-local-cazr>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
cs-local-cazrw (cloud-azure-registration:write) is 403 on POST
validate:
TOKEN='<access_token from cs-local-cazrw>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
cs-local-hosts (hosts:read only) is 403 on POST validate:
TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
No cookie and no Bearer is 401 on POST validate:
curl -sS -o /dev/null -w '%{http_code}\n' \
-X POST -H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
Image assessment policies / remaining cloud and other
cloud collections are not implemented (not yet). POST this validate
path is distinct from POST this healthcheck path, GET this registration
path, POST this registration path, PATCH this registration path, and
DELETE this registration path. This is not the HelloService
template (GET /api/hello). SOURCE writes envelope is not the
clone envelope.
List (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cloud-azure-registration:read → 200. cs-local-cazr → 200. A
token without that scope (including hosts:read only, e.g.
cs-local-hosts, cspm-registration:read e.g. cs-local-cspm,
cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetRegistration stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-registration. PEP 8
get_registration. This is not CSPM GET
/cloud-connect-cspm-azure/entities/account/v1, not Cloud AWS
Registration GET /cloud-security-registration-aws/entities/account/v1,
and not POST this registration path and not DELETE this
registration path. SOURCE JSON array is not
the clone envelope. There is no seeded production client with
cloud-azure-registration:read — use the console cookie, or a client
you created with that scope.
Create (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-3","account_type":"commercial","environment":"AzureCommercial","tenant_name":"Lab Tenant 3"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cloud-azure-registration:write → 200 on POST.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can POST. CreateRegistration
stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-create-registration. PEP 8
create_registration. This is not CSPM POST
/cloud-connect-cspm-azure/entities/account/v1 and not GET this
registration path and not DELETE this registration path. SOURCE
array / 201 is not the clone envelope.
Extra unused subscription_ids, products, event_hub_settings,
additional_features, status, and parameters are ignored. Duplicate
POST → 400. Missing tenant_id → 400. Created registration_id
is reg-<tenant_id> (tenant-lab-3 → reg-tenant-lab-3). Do not
seed tenant-lab-3. There is no seeded production client with
cloud-azure-registration:write — use the console cookie, or a client
you created with that scope.
Update (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-2","account_type":"gov"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1'
cloud-azure-registration:write → 200 on PATCH.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can PATCH. UpdateRegistration
stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-update-registration. PEP 8
update_registration. This is not POST this registration path,
not GET this registration path, not DELETE this registration
path, and not POST healthcheck. SOURCE array is not the clone
envelope. Extra unused subscription_ids, products,
event_hub_settings, additional_features, parameters, and
resources are ignored. Empty account_type / environment /
tenant_name / status keep the stored value. Missing tenant_id →
400. Unknown tenant_id → 400. PATCH tenant_id=tenant-lab-2
/ account_type=gov returns reg-az-2 with account_type gov. GET
after lists tenant-lab-1 commercial then tenant-lab-2 gov. There is no
seeded production client with cloud-azure-registration:write — use
the console cookie, or a client you created with that scope.
Delete (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/v1?tenant_ids=tenant-lab-3'
cloud-azure-registration:write → 200 on DELETE.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can DELETE. DeleteRegistration
stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-delete-registration. PEP 8
delete_registration. This is not GET this registration path,
not POST this registration path, not POST this suppressions
path, not DELETE this legacy path, not CSPM Azure DELETE
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. SOURCE array is not the clone envelope.
Extra unused query parameters is ignored. Duplicate DELETE → 400.
Missing tenant_ids → 400. Unknown tenant_id → 400. Empty
body. Query tenant_ids. Create that row first if it is missing. There
is no seeded production client with cloud-azure-registration:write
— use the console cookie, or a client you created with that scope.
Create suppression (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"registration_id":"reg-az-1","issue_name":"lab-issue","reason":"lab reason"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cloud-azure-registration:write → 200 on POST suppressions.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can POST suppressions.
CreateSuppressions stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-create-suppressions. PEP 8
cloud_registration_azure_create_suppressions. This is not GET this
suppressions path, not POST this registration path, not GET this
registration path, and not CSPM Azure POST
/cloud-connect-cspm-azure/entities/account/v1. SOURCE array / 201
is not the clone envelope. Extra unused category, entity_id,
entity_type, impact, severity, suppressed_by, type,
resources, status, and parameters are ignored. Duplicate POST →
400. Missing registration_id or issue_name → 400. Unknown
registration_id → 400. Created suppression_id is
sup-<registration_id>-<issue_name> (reg-az-1 + lab-issue →
sup-reg-az-1-lab-issue). Do not seed suppressions. Do not GET
this suppressions path. There is no seeded production client with
cloud-azure-registration:write — use the console cookie, or a client
you created with that scope.
Update suppression (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X PATCH -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_id":"sup-az-1","reason":"policy-reviewed"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cloud-azure-registration:write → 200 on PATCH suppressions.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can PATCH suppressions.
UpdateSuppressions stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-update-suppressions. PEP 8
cloud_registration_azure_update_suppressions. This is not POST
this suppressions path, not GET this suppressions path, not
DELETE this suppressions path, and not PATCH this registration
path. SOURCE array is not the clone envelope. Extra unused
expansion fields and SOURCE resources wrap ignored. Extra unused
resources, category, entity_id, entity_type, impact,
severity, suppressed_by, type, status, and parameters are
ignored. Empty reason keeps the stored value. Missing
suppression_id → 400. Unknown suppression_id → 400. PATCH
suppression_id=sup-az-1 / reason=policy-reviewed returns sup-az-1
with reason policy-reviewed. GET after lists sup-az-1
policy-reviewed then sup-az-2 policy-exception first. There is no
seeded production client with cloud-azure-registration:write — use
the console cookie, or a client you created with that scope.
Delete suppression (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"suppression_ids":["sup-reg-az-1-lab-issue-del"]}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1'
cloud-azure-registration:write → 200 on DELETE suppressions.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can DELETE suppressions.
DeleteSuppressions stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-delete-suppressions. PEP 8
cloud_registration_azure_delete_suppressions. This is not GET this
suppressions path, not POST this suppressions path, not DELETE
this registration path, not DELETE this legacy path, not CSPM
Azure DELETE /cloud-connect-cspm-azure/entities/account/v1, and not
remaining Cloud Azure Registration. SOURCE writes is not the clone
envelope. Extra unused status, parameters, and resources are
ignored. Duplicate DELETE → 400. Missing suppression_ids →
400. Unknown suppression_id → 400. If any suppression_id is
unknown, 400 and no row is deleted. Create lab-issue-del first if
missing. Do not seed suppressions. There is no seeded production client with
cloud-azure-registration:write — use the console cookie, or a client
you created with that scope.
List legacy (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cloud-azure-registration:read → 200 on GET legacy.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetLegacyAccounts stays
cloud-azure-registration:read. DESIGN GET (clone list; not a SOURCE
leftover). This is not GET this registration path, not POST this
registration path, not POST this suppressions path, not DELETE
this legacy path, not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. Extra unused query parameters is ignored.
SOURCE JSON array is not the clone envelope. There is no seeded
production client with cloud-azure-registration:read — use the
console cookie, or a client you created with that scope.
Delete legacy (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X DELETE -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"subscription_id":"sub-az-legacy-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/accounts/legacy/v1'
cloud-azure-registration:write → 200 on DELETE legacy.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can DELETE legacy.
DeleteLegacySubscription stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-delete-legacy-subscription. PEP 8
delete_legacy_subscription. This is not GET this legacy path,
not GET this registration path, not POST this registration
path, not POST this suppressions path, not CSPM Azure DELETE
/cloud-connect-cspm-azure/entities/account/v1, and not remaining
Cloud Azure Registration. SOURCE array is not the clone envelope.
Extra unused tenant_id, retain_client, resources, status, and
parameters are ignored. Duplicate DELETE → 400. Missing
subscription_id → 400. Unknown subscription_id → 400. There
is no seeded production client with cloud-azure-registration:write
— use the console cookie, or a client you created with that scope.
Download script (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:write>'
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'Content-Type: application/json' \
-d '{"tenant_id":"tenant-lab-1"}' \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1'
cloud-azure-registration:write → 200 on POST scripts.
cs-local-cazrw → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, or
cloud-azure-registration:read e.g. cs-local-cazr) → 403. Missing
or revoked token → 401. Session cookie can POST scripts.
DownloadScript stays cloud-azure-registration:write. SOURCE
cloud-registration-azure-download-script. PEP 8
download_script. This is not GET this scripts path, not GET
this script-versions path, not GET this issues path, not
CSPM Azure, not POST this suppressions path, not DELETE this
suppressions path, not DELETE this registration path, and not
DELETE this legacy path. SOURCE array / tenantId is not the clone
envelope. Extra unused status, parameters, and resources are
ignored. Missing tenant_id → 400. Unknown tenant_id → 400.
POST tenant_id=tenant-lab-1 returns cid cid-local-1, url
/help/cloud-azure-registration, and version v1. There is no seeded
production client with
cloud-azure-registration:write — use the console cookie, or a client
you created with that scope.
Get suppression values (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issue-suppressions-values-by-fields/v1?registration_id=reg-az-1&field=issue_name'
cloud-azure-registration:read → 200 on GET aggregates.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetIssueSuppressionValuesByField
stays cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-issue-suppression-values-by-field. PEP 8
cloud_registration_azure_get_issue_suppression_values_by_field. This
is not GET get-issue-values-by-field, not GET get-issues,
not GET get-suppressions, not POST this suppressions path,
not DELETE this suppressions path, and not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1. Extra unused query
parameters is ignored. SOURCE JSON array is not the clone
envelope. Missing registration_id → 400. Missing field →
400. Unknown field → 400. Unknown registration_id →
400. Create lab-issue first if missing. There is no seeded
production client with cloud-azure-registration:read — use the
console cookie, or a client you created with that scope.
DownloadScript stays cloud-azure-registration:write.
Get issue values (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/aggregates/issues-values-by-fields/v1?registration_id=reg-az-1&field=severity'
cloud-azure-registration:read → 200 on GET issues-values-by-fields.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetIssueValuesByField stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-issue-values-by-field. PEP 8
cloud_registration_azure_get_issue_values_by_field. This is not
GET get-issues, not GET this aggregates path, not GET
get-suppressions, not POST this suppressions path, not DELETE
this suppressions path, and not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1. Extra unused query
filter / parameters are ignored. SOURCE JSON array is not the
clone envelope. Missing registration_id → 400. Missing field →
400. Unknown field → 400. Unknown registration_id →
400. GET registration_id=reg-az-1 / field=severity returns
{value, count} including high then medium. There is no seeded
production client with cloud-azure-registration:read — use the
console cookie, or a client you created with that scope.
Get issues (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issues/v1?registration_id=reg-az-1'
cloud-azure-registration:read → 200 on GET issues.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetIssues stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-issues. PEP 8
cloud_registration_azure_get_issues. This is not GET
get-issue-values-by-field, not GET this aggregates path, not
GET get-suppressions, not POST this suppressions path, not
DELETE this suppressions path, and not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1. Extra unused query
filter / sort / group_by / limit / offset / parameters are
ignored. SOURCE JSON array is not the clone envelope. SOURCE-only
first_seen / last_seen / region / impacted_entities omitted this
slice. Missing registration_id → 400. Unknown registration_id →
400. reg-az-2 → 200 empty. GET registration_id=reg-az-1
returns persisted Issue keys including issue-az-1 then issue-az-2.
There is no seeded production client with
cloud-azure-registration:read — use the console cookie, or a client
you created with that scope.
Get script (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/scripts/v1?tenant_id=tenant-lab-1'
cloud-azure-registration:read → 200 on GET scripts.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetScript stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-script. PEP 8
cloud_registration_azure_get_script. This is not POST this
scripts path, not GET this script-versions path, not GET
this issues path, not CSPM Azure GET
/cloud-connect-cspm-azure/entities/account/v1, not POST this
suppressions path, not DELETE this suppressions path, not
DELETE this registration path, and not DELETE this legacy path.
Extra unused query parameters is ignored. SOURCE error-only card is
not the clone envelope. Missing tenant_id → 400. Unknown
tenant_id → 400. GET tenant_id=tenant-lab-1 returns cid
cid-local-1, url /help/cloud-azure-registration, and version
v1. There is no seeded production client with
cloud-azure-registration:read — use the console cookie, or a client
you created with that scope.
DownloadScript stays cloud-azure-registration:write.
Get script versions (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/script-versions/v1'
cloud-azure-registration:read → 200 on GET script-versions.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetScriptVersions stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-script-versions. PEP 8
cloud_registration_azure_get_script_versions. This is not GET
this scripts path, not POST this scripts path, and not GET
get-suppressions. Extra unused query deployment_method / sort /
limit / offset / parameters are ignored. SOURCE JSON array is
not the clone envelope. GET returns persisted version keys v1
bicep-deployment-stack then v1 bicep-legacy, download_url
/help/cloud-azure-registration, published_date 2026-01-15. There
is no seeded production client with
cloud-azure-registration:read — use the console cookie, or a client
you created with that scope.
GetScript stays cloud-azure-registration:read.
Get suppressions (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/issue-suppressions/v1?registration_id=reg-az-1'
cloud-azure-registration:read → 200 on GET suppressions.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. GetSuppressions stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-get-suppressions. PEP 8
cloud_registration_azure_get_suppressions. This is not POST this
suppressions path, not DELETE this suppressions path, not GET
aggregates issue-suppressions-values-by-fields, not GET issues, and
not GET script-versions. Extra unused query filter / sort /
limit / offset / parameters are ignored. SOURCE JSON array is
not the clone envelope. SOURCE-only category / entity_id /
entity_type / impact / severity / suppressed_by / type
omitted this slice. Missing registration_id → 400. Unknown
registration_id → 400. reg-az-2 → 200 empty. GET
registration_id=reg-az-1 returns persisted Suppression keys
sup-az-1 then sup-az-2 first. There is no seeded production client
with cloud-azure-registration:read — use the console cookie, or a
client you created with that scope.
GetScriptVersions stays cloud-azure-registration:read.
Trigger health check (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/healthcheck/v1?tenant_ids=tenant-lab-1'
cloud-azure-registration:read → 200 on POST healthcheck.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. TriggerHealthCheck stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-trigger-health-check. PEP 8
health_check. Request proto CloudAzureTriggerHealthCheckRequest
(AWS already owns TriggerHealthCheckRequest in platform.v1). This is
not GET this registration path, not POST this registration
path, not DELETE this registration path, and not GET
suppressions. Extra unused query parameters is ignored. Empty body.
Duplicate ids count once. SOURCE JSON array is not the clone
envelope. Missing/empty tenant_ids → 400. Unknown tenant →
400. POST tenant_ids=tenant-lab-1 returns tenant_id
tenant-lab-1. GET registrations after still 200. There is no
seeded production client with cloud-azure-registration:read — use the
console cookie, or a client you created with that scope.
GetSuppressions stays cloud-azure-registration:read.
Validate tenant (Bearer)
TOKEN='<access_token from a client with cloud-azure-registration:read>'
curl -sS -X POST -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/cloud-security-registration-azure/entities/registrations/validate/v1?tenant_id=tenant-lab-1'
cloud-azure-registration:read → 200 on POST validate.
cs-local-cazr → 200. A token without that scope (including
hosts:read only, e.g. cs-local-hosts, cspm-registration:read e.g.
cs-local-cspm, cloud-aws-registration:read e.g. cs-local-cawsr, or
cloud-azure-registration:write e.g. cs-local-cazrw) → 403.
Missing or revoked token → 401. ValidateRegistration stays
cloud-azure-registration:read. SOURCE
cloud-registration-azure-validate-registration. PEP 8
validate_registration. This is not POST this healthcheck path,
not GET this registration path, not POST this registration
path, not PATCH this registration path, and not DELETE this
registration path. Extra unused query stack_name and parameters are
ignored. Empty body. SOURCE writes envelope is not the clone
envelope. Missing/empty tenant_id → 400. Unknown tenant →
400. POST tenant_id=tenant-lab-1 returns tenant_id
tenant-lab-1 status registered. GET registrations after still
200. There is no seeded production client with
cloud-azure-registration:read — use the console cookie, or a client
you created with that scope.
TriggerHealthCheck stays cloud-azure-registration:read.
OAuth2 mint/revoke: OAuth2. Accessible scopes: API clients.