Skip to content
Start here

Posture

PostureFindings

List posture findings
client.ZeroTrust.Casb.Posture.Findings.List(ctx, params) (*V4PagePaginationArray[CasbPostureFindingListResponse], error)
GET/accounts/{account_id}/data-security/posture/findings
Get a finding type
client.ZeroTrust.Casb.Posture.Findings.Get(ctx, findingID, query) (*CasbPostureFindingGetResponse, error)
GET/accounts/{account_id}/data-security/posture/findings/{finding_id}
Create new findings export request
client.ZeroTrust.Casb.Posture.Findings.Export(ctx, params) (*CasbPostureFindingExportResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/export
Mark a finding as ignored
client.ZeroTrust.Casb.Posture.Findings.Ignore(ctx, params) (*CasbPostureFindingIgnoreResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/ignore
Remove ignore marker from a finding
client.ZeroTrust.Casb.Posture.Findings.Unignore(ctx, params) (*CasbPostureFindingUnignoreResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/unignore
Update the severity for a finding
client.ZeroTrust.Casb.Posture.Findings.TuneSeverity(ctx, findingID, params) (*CasbPostureFindingTuneSeverityResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/{finding_id}/tune_finding_severity
Reset severity for a finding back to the default
client.ZeroTrust.Casb.Posture.Findings.ResetSeverity(ctx, findingID, body) (*CasbPostureFindingResetSeverityResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/{finding_id}/reset_finding_severity

PostureFindingsInstances

List instances of a finding
client.ZeroTrust.Casb.Posture.Findings.Instances.List(ctx, findingID, params) (*V4PagePaginationArray[CasbPostureFindingInstanceListResponse], error)
GET/accounts/{account_id}/data-security/posture/findings/{finding_id}/instances
Get a finding instance using an instance ID
client.ZeroTrust.Casb.Posture.Findings.Instances.Get(ctx, findingID, instanceID, query) (*CasbPostureFindingInstanceGetResponse, error)
GET/accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/{instance_id}
Create a finding instances export
client.ZeroTrust.Casb.Posture.Findings.Instances.Export(ctx, storageNamespaceID, params) (*CasbPostureFindingInstanceExportResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/{storage_namespace_id}/instances/export
Archive a finding
client.ZeroTrust.Casb.Posture.Findings.Instances.Archive(ctx, findingID, params) (*CasbPostureFindingInstanceArchiveResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/archive
Remove the archive marking from a finding instance
client.ZeroTrust.Casb.Posture.Findings.Instances.Unarchive(ctx, findingID, params) (*CasbPostureFindingInstanceUnarchiveResponse, error)
POST/accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/unarchive

PostureExports

List all export jobs
client.ZeroTrust.Casb.Posture.Exports.List(ctx, params) (*V4PagePaginationArray[CasbPostureExportListResponse], error)
GET/accounts/{account_id}/data-security/posture/exports
Get a single export job
client.ZeroTrust.Casb.Posture.Exports.Get(ctx, id, query) (*CasbPostureExportGetResponse, error)
GET/accounts/{account_id}/data-security/posture/exports/{id}

PostureFinding Types

List all finding types
client.ZeroTrust.Casb.Posture.FindingTypes.List(ctx, params) (*V4PagePaginationArray[CasbPostureFindingTypeListResponse], error)
GET/accounts/{account_id}/data-security/posture/finding_types
Get finding by ID
client.ZeroTrust.Casb.Posture.FindingTypes.Get(ctx, findingTypeID, query) (*CasbPostureFindingTypeGetResponse, error)
GET/accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}

PostureFinding TypesRemediation Types

List remediation types for a finding type
client.ZeroTrust.Casb.Posture.FindingTypes.RemediationTypes.List(ctx, findingTypeID, params) (*V4PagePaginationArray[CasbPostureFindingTypeRemediationTypeListResponse], error)
GET/accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}/remediation_types

PostureContent

List DLP content findings
client.ZeroTrust.Casb.Posture.Content.List(ctx, params) (*V4PagePaginationArray[CasbPostureContentListResponse], error)
GET/accounts/{account_id}/data-security/posture/content
Create a content export
client.ZeroTrust.Casb.Posture.Content.Export(ctx, params) (*CasbPostureContentExportResponse, error)
POST/accounts/{account_id}/data-security/posture/content/export

PostureRemediations

PostureRemediationsJobs

List remediation jobs
client.ZeroTrust.Casb.Posture.Remediations.Jobs.List(ctx, params) (*V4PagePaginationArray[CasbPostureRemediationJobListResponse], error)
GET/accounts/{account_id}/data-security/posture/remediations/jobs
Creates remediation jobs
client.ZeroTrust.Casb.Posture.Remediations.Jobs.New(ctx, params) (*CasbPostureRemediationJobNewResponse, error)
POST/accounts/{account_id}/data-security/posture/remediations/jobs
Create a remediation jobs export
client.ZeroTrust.Casb.Posture.Remediations.Jobs.Export(ctx, params) (*CasbPostureRemediationJobExportResponse, error)
POST/accounts/{account_id}/data-security/posture/remediations/jobs/export

PostureWebhooks

List webhook configurations
client.ZeroTrust.Casb.Posture.Webhooks.List(ctx, query) (*SinglePage[CasbPostureWebhookListResponse], error)
GET/accounts/{account_id}/data-security/posture/webhooks
Create a new webhook configuration
client.ZeroTrust.Casb.Posture.Webhooks.New(ctx, params) (*CasbPostureWebhookNewResponse, error)
POST/accounts/{account_id}/data-security/posture/webhooks
Get webhook configuration by ID
client.ZeroTrust.Casb.Posture.Webhooks.Get(ctx, webhookID, query) (*CasbPostureWebhookGetResponse, error)
GET/accounts/{account_id}/data-security/posture/webhooks/{webhook_id}
Update an existing webhook configuration
client.ZeroTrust.Casb.Posture.Webhooks.Update(ctx, webhookID, params) (*CasbPostureWebhookUpdateResponse, error)
PUT/accounts/{account_id}/data-security/posture/webhooks/{webhook_id}
Delete a webhook configuration
client.ZeroTrust.Casb.Posture.Webhooks.Delete(ctx, webhookID, body) (*CasbPostureWebhookDeleteResponse, error)
DELETE/accounts/{account_id}/data-security/posture/webhooks/{webhook_id}
Test a webhook configuration before creating it
client.ZeroTrust.Casb.Posture.Webhooks.Evaluate(ctx, params) (*CasbPostureWebhookEvaluateResponse, error)
POST/accounts/{account_id}/data-security/posture/webhooks/evaluate
Test an existing webhook configuration
client.ZeroTrust.Casb.Posture.Webhooks.EvaluateExisting(ctx, webhookID, body) (*CasbPostureWebhookEvaluateExistingResponse, error)
POST/accounts/{account_id}/data-security/posture/webhooks/{webhook_id}/evaluate

PostureWebhooksJobs

Create webhook jobs
client.ZeroTrust.Casb.Posture.Webhooks.Jobs.New(ctx, params) (*CasbPostureWebhookJobNewResponse, error)
POST/accounts/{account_id}/data-security/posture/webhooks/jobs