Security V2 Rest API
This API can also be accessed via the RequestHandler with app-id:
SEC-V2
The SecurityRestService
APIs provides methods to manage the system security.
Identities with rest.security
permissions can access these APIs.
POST methods
Security policy fingerprint reload
- Description: This method allows the reload of the security policy's fingerprint
- Method: POST
- API PATH:
services/security/v2/security-policy-fingerprint/reload
Responses
- 200 OK status
- 500 Internal Server Error
Reload command line fingerprint
- Description: This method allows the reload of the command line fingerprint
- Method: POST
- API PATH:
services/security/v2/command-line-fingerprint/reload
Responses
- 200 OK status
- 500 Internal Server Error
Apply default production security policy
- Description: This method allows to apply the default production security policy available in the system
- Method: POST
- API PATH:
services/security/v2/security-policy/apply-default-production
Responses
- 200 OK status
- 500 Internal Server Error (also returned when no
SecurityService
implementation is available)
Apply security policy
- Description: This method allows to apply the user provided security policy. The maximum allowed security policy size is 1MB.
- Method: POST
- API PATH:
services/security/v2/security-policy/apply
Request
<plain text security policy>
Responses
- 200 OK status
- 500 Internal Server Error (also returned when no
SecurityService
implementation is available)
GET methods
Debug enabled
Access to this resource doesn't require the
rest.security
permission.
- Description: This method allows you to check whether debug mode is enabled in the system.
- Method: GET
- API PATH:
services/security/v2/debug-enabled
Responses
- 200 OK status
{
"enabled":true
}
- 500 Internal Server Error
Updated 4 months ago