CustomFlag

Create a custom flag.

This will create a new custom flag for an org

  • Requires the action org:CreateCustomFlag on the organization
post/api/v1/org/{orgUID}/customflag/

Request

  • Base URL: https://api.prod.spyderbat.com
  • URL: https://api.prod.spyderbat.com/api/v1/org/{orgUID}/customflag/
  • Auth: HTTP bearer

Path parameters

orgUIDstring required

Request body

contentstring

Optional Markdown content for additional details.

descriptionstring required

A brief description explaining what the flag detects.

impactstring

Optional impact this flag has for your organization.

is_disabledboolean

Optional flag to disable the custom flag on creation. Default is enabled.

namestring required
saved_query_uidstring required
severitystring required

Optional severity level of the flag. One of [info|low|medium|high|critical]

tagsstring[]

Optional tags to associate with the custom flag.

typestring required

The type of the flag. One of [redflag|opsflag]

Response

OK

uidstring

Changes

No recorded changes to this operation across all 1 revision of this API.