SemgrepRuleService

CreateSemgrepRule

Creates a Semgrep rule.

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

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/semgrep-rules
  • Auth
    none declared

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.

Changes

No recorded changes to this operation across all 2 revisions of this API.