Skip to content

Rest Security v1 API

Note

This API can also be accessed via the RequestHandler with app-id: SEC-V1.

This REST API requires a SecurityService implementation to be registered on the framework, which is not provided by the standard Kura distribution.

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/v1/security-policy-fingerprint/reload
Responses
  • 200 OK status
  • 500 Internal Server Error (also returned when no SecurityService implementation is available)

Reload command line fingerprint

  • Description: This method allows the reload of the command line fingerprint
  • Method: POST
  • API PATH: services/security/v1/command-line-fingerprint/reload
Responses
  • 200 OK status
  • 500 Internal Server Error (also returned when no SecurityService implementation is available)

GET methods

Debug enabled

Note

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/v1/debug-enabled
Responses
  • 200 OK status
    {
        "enabled":true
    }
    
  • 500 Internal Server Error (also returned when no SecurityService implementation is available)