REST API  5.0.0
REST API for SafeNet Network HSMs
PUT /api/lunasa/webServer/blacklist

PUT /api/lunasa/webServer/blacklist

Modifies the web server blacklist configuration.

Parameters

maxInfractionCount

The maxiumum amount of infractions that can be made before a user is blacklisted.

Use: Not Required

JSON Schema:

    Object
    type:integer

timeoutStart

The starting timeout of a blacklist entry.

Use: Not Required

JSON Schema:

    Object
    type:integer

timeoutMultiplier

The timeout multiplier that defines how much to increment the timeout upon an infraction.

Use: Not Required

JSON Schema:

    Object
    type:integer

severity

The severity of the blacklist as a percentage (0-100). 0 being more tolerant while 100 being more strict, the default value is 50 percent. This parameter replaces the use of the above three parameters.

Use: Not Required

JSON Schema:

    Object
    type:integer

Responses

204

Success

400

Unexpected error

Example Request

  PUT 
  https://1.2.3.4:8443/api/lunasa/webServer/blacklist
  {
    "maxInfractionCount": 10,
    "timeoutStart": 5,
    "timeoutMultiplier": 1.5
  }

Example Request (Severity)

  PUT 
  https://1.2.3.4:8443/api/lunasa/webServer/blacklist
  {
    "severity": 50
  }

Example Result

{
}