krane icon indicating copy to clipboard operation
krane copied to clipboard

Add simple HTTP API

Open marcinc opened this issue 4 years ago • 0 comments

Allow for RBAC status report consumption by external services over HTTP.

Endpoints:

/status - triggers all RBAC risk rules check and returns a report

Filtering to select specific severity items as an option, eg:

/status?severity={high|medium|low} - to return RBAC report items filtered by severity. Unfiltered results are returned by default if no severity filter specified. Results returned in format specified by the content-type header (JSON by default). YAML also supported.

/status/{risk-rule-id} - tigger ad-hoc test of specific risk rule id. Return check response in format specified by content-type header (JSON by default).

marcinc avatar May 28 '20 16:05 marcinc