v1

latestOpenAPI 3.0.32026-07-262499981.2 MB
SemgrepRuleService

CreateSemgrepRule

Creates a Semgrep rule.

post/v1/namespaces/{tenant_meta.namespace}/semgrep-rules

Path parameters

tenant_meta.namespacestring 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".

Request body

disabledboolean
propagateboolean

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

tenant_metaobject

Rules are associated with a tenant and namespace.

uuidstring

The UUID of the Semgrep rule.

Response

A successful response.

disabledboolean
propagateboolean

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

uuidstring

The UUID of the Semgrep rule.