Rule - Get

Retrieve a Rule

GET /rules/{ruleId} endpoint returns a rule template supported by flagright.

Path parameters

ruleIdstringRequired

Headers

x-api-keystringRequired

Response

OK

idstring
typeenum
Allowed values:
namestring
typeslist of strings
descriptionstring
defaultParametersmap from strings to any
defaultActionenum

Model for rule action if a rule is hit. This is returned in the API response and can be configured on Console by operational accounts like a Compliance Analyst

Allowed values:
labelslist of enums
defaultCasePriorityenum
Allowed values:
defaultNatureenum
Allowed values:
checksForlist of strings
typologieslist of strings
sampleUseCasesstring
parametersSchemamap from strings to anyOptional
defaultRiskLevelParametersobjectOptional
defaultRiskLevelActionsobjectOptional

Errors