Skip to main content
POST
CreateSemgrepRule

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
disabled
boolean
propagate
boolean

Propagate indicates that the object should be visible in child 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
disabled
boolean
propagate
boolean

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

tenant_meta
object

Tenant related data for the tenant containing the resource.

uuid
string
read-only

The UUID of the Semgrep rule.