Cloud Workload Security
Cloud Workload SecurityBasic Auth Credentials
List basic-auth credentials for an account
zero_trust.cws.basic_auth_credentials.list(BasicAuthCredentialListParams**kwargs) -> SyncCursorPagination[BasicAuthCredential]
GET/accounts/{account_id}/cws/basic-auth-credentials
Get a basic-auth credential by ID
zero_trust.cws.basic_auth_credentials.get(strcredential_id, BasicAuthCredentialGetParams**kwargs) -> BasicAuthCredential
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}
Create a basic-auth credential
zero_trust.cws.basic_auth_credentials.create(BasicAuthCredentialCreateParams**kwargs) -> BasicAuthCredential
POST/accounts/{account_id}/cws/basic-auth-credentials
Delete a basic-auth credential
zero_trust.cws.basic_auth_credentials.delete(strcredential_id, BasicAuthCredentialDeleteParams**kwargs) -> BasicAuthCredentialDeleteResponse
DELETE/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}
Cloud Workload SecurityBasic Auth CredentialsSecrets
List secrets for a basic-auth credential
zero_trust.cws.basic_auth_credentials.secrets.list(strcredential_id, SecretListParams**kwargs) -> SyncCursorPagination[BasicAuthSecret]
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets
Get a basic-auth secret by ID
zero_trust.cws.basic_auth_credentials.secrets.get(strsecret_id, SecretGetParams**kwargs) -> BasicAuthSecret
GET/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}
Add a secret to a basic-auth credential
zero_trust.cws.basic_auth_credentials.secrets.create(strcredential_id, SecretCreateParams**kwargs) -> BasicAuthSecret
POST/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets
Delete a basic-auth secret
zero_trust.cws.basic_auth_credentials.secrets.delete(strsecret_id, SecretDeleteParams**kwargs) -> SecretDeleteResponse
DELETE/accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}
Cloud Workload SecurityDeployments
List deployments
zero_trust.cws.deployments.list(DeploymentListParams**kwargs) -> SyncCursorPagination[Deployment]
GET/accounts/{account_id}/cws/deployments
Get a deployment by ID
zero_trust.cws.deployments.get(strdeployment_id, DeploymentGetParams**kwargs) -> Deployment
GET/accounts/{account_id}/cws/deployments/{deployment_id}
Create a new deployment
zero_trust.cws.deployments.create(DeploymentCreateParams**kwargs) -> Deployment
POST/accounts/{account_id}/cws/deployments
Update a deployment
zero_trust.cws.deployments.update(strdeployment_id, DeploymentUpdateParams**kwargs) -> Deployment
PUT/accounts/{account_id}/cws/deployments/{deployment_id}
Delete a deployment
zero_trust.cws.deployments.delete(strdeployment_id, DeploymentDeleteParams**kwargs) -> DeploymentDeleteResponse
DELETE/accounts/{account_id}/cws/deployments/{deployment_id}
Cloud Workload SecurityDomain ACLs
List domain ACLs
zero_trust.cws.domain_acls.list(DomainACLListParams**kwargs) -> SyncCursorPagination[DomainACL]
GET/accounts/{account_id}/cws/domain-acls
Get a domain ACL by ID
zero_trust.cws.domain_acls.get(strdomain_acl_id, DomainACLGetParams**kwargs) -> DomainACL
GET/accounts/{account_id}/cws/domain-acls/{domain_acl_id}
Create a new domain ACL
zero_trust.cws.domain_acls.create(DomainACLCreateParams**kwargs) -> DomainACL
POST/accounts/{account_id}/cws/domain-acls
Update a domain ACL and replace its entries
zero_trust.cws.domain_acls.update(strdomain_acl_id, DomainACLUpdateParams**kwargs) -> DomainACL
PUT/accounts/{account_id}/cws/domain-acls/{domain_acl_id}
Delete a domain ACL
zero_trust.cws.domain_acls.delete(strdomain_acl_id, DomainACLDeleteParams**kwargs) -> DomainACLDeleteResponse
DELETE/accounts/{account_id}/cws/domain-acls/{domain_acl_id}
Cloud Workload SecurityPolicies
List policies
zero_trust.cws.policies.list(PolicyListParams**kwargs) -> SyncCursorPagination[Policy]
GET/accounts/{account_id}/cws/policies
Get a policy by ID
zero_trust.cws.policies.get(strpolicy_id, PolicyGetParams**kwargs) -> Policy
GET/accounts/{account_id}/cws/policies/{policy_id}
Create a new policy
zero_trust.cws.policies.create(PolicyCreateParams**kwargs) -> Policy
POST/accounts/{account_id}/cws/policies
Update a policy
zero_trust.cws.policies.update(strpolicy_id, PolicyUpdateParams**kwargs) -> Policy
PUT/accounts/{account_id}/cws/policies/{policy_id}
Delete a policy
zero_trust.cws.policies.delete(strpolicy_id, PolicyDeleteParams**kwargs) -> PolicyDeleteResponse
DELETE/accounts/{account_id}/cws/policies/{policy_id}
Cloud Workload SecurityPolicy Sets
List policy sets
zero_trust.cws.policy_sets.list(PolicySetListParams**kwargs) -> SyncCursorPagination[PolicySet]
GET/accounts/{account_id}/cws/policy-sets
Get a policy set by ID
zero_trust.cws.policy_sets.get(strpolicy_set_id, PolicySetGetParams**kwargs) -> PolicySet
GET/accounts/{account_id}/cws/policy-sets/{policy_set_id}
Create a new policy set
zero_trust.cws.policy_sets.create(PolicySetCreateParams**kwargs) -> PolicySet
POST/accounts/{account_id}/cws/policy-sets
Update a policy set
zero_trust.cws.policy_sets.update(strpolicy_set_id, PolicySetUpdateParams**kwargs) -> PolicySet
PUT/accounts/{account_id}/cws/policy-sets/{policy_set_id}
Delete a policy set
zero_trust.cws.policy_sets.delete(strpolicy_set_id, PolicySetDeleteParams**kwargs) -> PolicySetDeleteResponse
DELETE/accounts/{account_id}/cws/policy-sets/{policy_set_id}
Cloud Workload SecurityRego Metadata
List Rego metadata documents
zero_trust.cws.rego_metadata.list(RegoMetadataListParams**kwargs) -> SyncCursorPagination[RegoMetadata]
GET/accounts/{account_id}/cws/rego-metadata
Get a rego metadata document by ID
zero_trust.cws.rego_metadata.get(strrego_metadata_id, RegoMetadataGetParams**kwargs) -> RegoMetadata
GET/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
Create a new rego metadata document
zero_trust.cws.rego_metadata.create(RegoMetadataCreateParams**kwargs) -> RegoMetadata
POST/accounts/{account_id}/cws/rego-metadata
Update a rego metadata document
zero_trust.cws.rego_metadata.update(strrego_metadata_id, RegoMetadataUpdateParams**kwargs) -> RegoMetadata
PUT/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
Delete a rego metadata document
zero_trust.cws.rego_metadata.delete(strrego_metadata_id, RegoMetadataDeleteParams**kwargs) -> RegoMetadataDeleteResponse
DELETE/accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}
Cloud Workload SecurityRego Modules
List Rego modules
zero_trust.cws.rego_modules.list(RegoModuleListParams**kwargs) -> SyncCursorPagination[RegoModule]
GET/accounts/{account_id}/cws/rego-modules
Get a Rego module by ID
zero_trust.cws.rego_modules.get(strrego_module_id, RegoModuleGetParams**kwargs) -> RegoModule
GET/accounts/{account_id}/cws/rego-modules/{rego_module_id}
Create a new Rego module
zero_trust.cws.rego_modules.create(RegoModuleCreateParams**kwargs) -> RegoModule
POST/accounts/{account_id}/cws/rego-modules
Update a Rego module
zero_trust.cws.rego_modules.update(strrego_module_id, RegoModuleUpdateParams**kwargs) -> RegoModule
PUT/accounts/{account_id}/cws/rego-modules/{rego_module_id}
Delete a Rego module
zero_trust.cws.rego_modules.delete(strrego_module_id, RegoModuleDeleteParams**kwargs) -> RegoModuleDeleteResponse
DELETE/accounts/{account_id}/cws/rego-modules/{rego_module_id}
Cloud Workload SecurityTenant Structures
List tenant structures for an account
zero_trust.cws.tenant_structures.list(TenantStructureListParams**kwargs) -> SyncCursorPagination[TenantStructure]
GET/accounts/{account_id}/cws/tenant-structures
Get a tenant structure by ID
zero_trust.cws.tenant_structures.get(strstructure_id, TenantStructureGetParams**kwargs) -> TenantStructure
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}
Create a tenant structure
zero_trust.cws.tenant_structures.create(TenantStructureCreateParams**kwargs) -> TenantStructure
POST/accounts/{account_id}/cws/tenant-structures
Update a tenant structure
zero_trust.cws.tenant_structures.update(strstructure_id, TenantStructureUpdateParams**kwargs) -> TenantStructure
PUT/accounts/{account_id}/cws/tenant-structures/{structure_id}
Delete a tenant structure
zero_trust.cws.tenant_structures.delete(strstructure_id, TenantStructureDeleteParams**kwargs) -> TenantStructureDeleteResponse
DELETE/accounts/{account_id}/cws/tenant-structures/{structure_id}
Cloud Workload SecurityTenant StructuresNodes
List nodes for a tenant structure
zero_trust.cws.tenant_structures.nodes.list(strstructure_id, NodeListParams**kwargs) -> SyncCursorPagination[TenantStructureNode]
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes
Get a tenant node by ID
zero_trust.cws.tenant_structures.nodes.get(strnode_id, NodeGetParams**kwargs) -> TenantStructureNode
GET/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Add a node to a tenant structure
zero_trust.cws.tenant_structures.nodes.create(strstructure_id, NodeCreateParams**kwargs) -> TenantStructureNode
POST/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes
Update a tenant node
zero_trust.cws.tenant_structures.nodes.update(strnode_id, NodeUpdateParams**kwargs) -> TenantStructureNode
PUT/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Delete a tenant node
zero_trust.cws.tenant_structures.nodes.delete(strnode_id, NodeDeleteParams**kwargs) -> NodeDeleteResponse
DELETE/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}
Apply a batch of tenant node mutations
zero_trust.cws.tenant_structures.nodes.batch(strstructure_id, NodeBatchParams**kwargs) -> NodeBatchResponse
POST/accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/batch
Cloud Workload SecurityWorkloads
List workloads
zero_trust.cws.workloads.list(WorkloadListParams**kwargs) -> SyncCursorPagination[Workload]
GET/accounts/{account_id}/cws/workloads
Get a workload by ID
zero_trust.cws.workloads.get(strworkload_id, WorkloadGetParams**kwargs) -> Workload
GET/accounts/{account_id}/cws/workloads/{workload_id}
Create a new workload
zero_trust.cws.workloads.create(WorkloadCreateParams**kwargs) -> Workload
POST/accounts/{account_id}/cws/workloads
Update a workload
zero_trust.cws.workloads.update(strworkload_id, WorkloadUpdateParams**kwargs) -> Workload
PUT/accounts/{account_id}/cws/workloads/{workload_id}
Delete a workload
zero_trust.cws.workloads.delete(strworkload_id, WorkloadDeleteParams**kwargs) -> WorkloadDeleteResponse
DELETE/accounts/{account_id}/cws/workloads/{workload_id}