visibility packet-capture object-templates aam-jwt-authorization-tmpl¶
Configure template for aam.jwt-authorization
aam-jwt-authorization-tmpl Specification¶
Parameter
Value
Type
Collection
Object Key(s)
name
Collection Name
Collection URI
/axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl
Element Name
aam-jwt-authorization-tmpl
Element URI
/axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name}
Element Attributes
aam-jwt-authorization-tmpl_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl | ||
POST /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/
Payload:
{
"aam-jwt-authorization-tmpl": {
"name": "a",
"user-tag": "a"
}
}
| ||||
Create List | POST | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl | ||
Get Object | GET | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name} | ||
GET /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/a
Reponse:
{
"aam-jwt-authorization-tmpl": {
"name": "a",
"uuid": "f2f7e0ee-5a77-11db-9331-e395250737bf",
"user-tag": "a",
"trigger-stats-severity": {
"error": 0,
"error-alert": 0,
"error-warning": 0,
"error-critical": 0,
"drop": 0,
"drop-alert": 0,
"drop-warning": 0,
"drop-critical": 0,
"uuid": "f2f7f3b8-5a77-11db-9331-e395250737bf",
"a10-url": "/axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/a/trigger-stats-severity"
},
"trigger-stats-inc": {
"jwt-authorize-failure": 0,
"jwt-missing-token": 0,
"jwt-missing-claim": 0,
"jwt-token-expired": 0,
"jwt-signature-failure": 0,
"jwt-other-error": 0,
"uuid": "f2f7f476-5a77-11db-9331-e395250737bf",
"a10-url": "/axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/a/trigger-stats-inc"
},
"a10-url": "/axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/a"
}
}
| ||||
Get List | GET | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl | ||
Modify Object | POST | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name} | ||
Replace Object | PUT | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name} | ||
Replace List | PUT | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl | ||
Delete Object | DELETE | /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name} |
aam-jwt-authorization-tmpl-list¶
aam-jwt-authorization-tmpl-list is JSON List of aam-jwt-authorization-tmpl attributes
aam-jwt-authorization-tmpl-list : [
aam-jwt-authorization-tmpl attributes¶
capture-config
Description Specify name of the capture-config to use with this template
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/visibility/packet-capture/capture-config
name
Description Packet Capture Template Name
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
trigger-stats-inc
Description: trigger-stats-inc is a JSON Block. Please see below for trigger-stats-inc
Type: Object
Reference Object: /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name}/trigger-stats-inc
trigger-stats-rate
Description: trigger-stats-rate is a JSON Block. Please see below for trigger-stats-rate
Type: Object
Reference Object: /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name}/trigger-stats-rate
trigger-stats-severity
Description: trigger-stats-severity is a JSON Block. Please see below for trigger-stats-severity
Type: Object
Reference Object: /axapi/v3/visibility/packet-capture/object-templates/aam-jwt-authorization-tmpl/{name}/trigger-stats-severity
user-tag
Description Customized tag
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
trigger-stats-severity¶
Specification
Value
Type
object
drop
Description Enable packet capture on all drop counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
drop-alert
Description Enable packet capture on all alert drop counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
drop-critical
Description Enable packet capture on all critical drop counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
drop-warning
Description Enable packet capture on all warning drop counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
error
Description Enable packet capture on all error counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
error-alert
Description Enable packet capture on all alert error counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
error-critical
Description Enable packet capture on all critical error counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
error-warning
Description Enable packet capture on all warning error counters (Default disabled)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
trigger-stats-inc¶
Specification
Value
Type
object
jwt-authorize-failure
Description Enable automatic packet-capture for JWT Authorize Failure
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-missing-claim
Description Enable automatic packet-capture for JWT Missing Claim
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-missing-token
Description Enable automatic packet-capture for JWT Missing Token
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-other-error
Description Enable automatic packet-capture for JWT Other Error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-signature-failure
Description Enable automatic packet-capture for JWT Signature Failure
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-token-expired
Description Enable automatic packet-capture for JWT Token Expired
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
trigger-stats-rate¶
Specification
Value
Type
object
duration
Description Time in seconds to look for the anomaly, default is 60
Type: number
Range: 1-250
Default: 60
jwt-authorize-failure
Description Enable automatic packet-capture for JWT Authorize Failure
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-missing-claim
Description Enable automatic packet-capture for JWT Missing Claim
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-missing-token
Description Enable automatic packet-capture for JWT Missing Token
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-other-error
Description Enable automatic packet-capture for JWT Other Error
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-signature-failure
Description Enable automatic packet-capture for JWT Signature Failure
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
jwt-token-expired
Description Enable automatic packet-capture for JWT Token Expired
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
threshold-exceeded-by
Description Set the threshold to the number of times greater than the previous duration to start the capture, default is 5
Type: number
Range: 0-100
Default: 5
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters