PolicyService

Creates a policy.

post/v1/namespaces/{tenant_meta.namespace}/policies

Request

  • Base URL
    https://api.endorlabs.com
  • URL
    https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/policies
  • 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

propagateboolean

Whether the object should be visible in child namespaces or not.

tenant_metaobject

Policies can be issued per namespace.

uuidstring

The UUID of the policy.

Response

A successful response.

propagateboolean

Whether the object should be visible in child namespaces or not.

uuidstring

The UUID of the policy.

Changes

    • warning

      added the new EXCEPTION_REASON_PRESENT_IN_BASELINE enum value to the // response property for the response status

    • warning

      added the new FINDING_TAGS_INFERRED enum value to the /// response property for the response status

    • warning

      added the new FINDING_TAGS_POTENTIALLY_VALID_SECRET enum value to the /// response property for the response status

    • warning

      added the new FINDING_TAGS_REACHABLE_BY_INCLUSION enum value to the /// response property for the response status

    • info

      added the new optional request property //

    • info

      added the new EXCEPTION_REASON_PRESENT_IN_BASELINE enum value to the request property //

    • info

      added the new FINDING_TAGS_INFERRED enum value to the request property ///

    • info

      added the new FINDING_TAGS_POTENTIALLY_VALID_SECRET enum value to the request property ///

    • info

      added the new FINDING_TAGS_REACHABLE_BY_INCLUSION enum value to the request property ///

    • info

      added the optional property // to the response with the status