Skip to main content
POST
CreateSecretRule

Path Parameters

tenant_meta.namespace
string
required

Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app".

Body

application/json
meta
object
required

Common fields for all Endor Labs resources.

spec
object
required

Internal specification of the object.

Follows the specification of the gitleaks configuration object defined here: https://github.com/gitleaks/gitleaks/blob/master/config/rule.go

propagate
boolean

Propagate indicates that the object should be visible in children namespaces.

tenant_meta
Rules are associated with a tenant and namespace. · object

Rules are associated with a tenant and namespace.

Response

A successful response.

meta
object
required

Common fields for all Endor Labs resources.

spec
object
required

Internal specification of the object.

Follows the specification of the gitleaks configuration object defined here: https://github.com/gitleaks/gitleaks/blob/master/config/rule.go

propagate
boolean

Propagate indicates that the object should be visible in children namespaces.

tenant_meta
object

Tenant related data for the tenant containing the resource.

uuid
string
read-only

The UUID of the secret rule.