Get Event Stats
GET/api/v32.07/stats/license
x-prisma-cloud-target-env: {"permission":"systemOperations"}
Returns the license stats including the credit per defender.
Responses
- 200
- default
LicenseStats holds the console license stats
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Avg is the average number of credits.
ContainerDefenders is the total number of container defenders.
DailySamplesDefenders holds the last 30 daily credits averages.
Exceeded indicates the number of credits exceeded license.
HostDefenders is the total number of host defenders.
HourAvg is the average number of credits per hour.
HourSamples is the number of hourly samples collected.
monthlyUsage object[]
MonthlyUsage holds the last 24 monthly usage averages.
appEmbedded object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
container object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
containerAgentless object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
host object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
hostAgentless object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
Period is the date beginning of the usage period.
RemainingCredits is the amount of credits left at the beginning of the period.
serverless object
ServerlessUsage holds the number of defenders, invocations and credits used for serverless defenders
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
ProtectedFunctions is the number of serverless functions that have a defender installed.
ScannedFunctions is the number functions being scanned for vulnerabilities and compliance issues without a defender installed.
waas object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
waasOutOfBand object
DefenderUsage holds the number of defenders and the credits used for a specific defender type
CreditCount is credits that was used for this defender type.
DefendersCount is the number of defenders that was used for this defender type.
Msg is the license exceeded error/warning message to show.
OnDemandCredits is the number of on demand credits used during the current contract.
ProtectedFunctions is the number of serverless functions that have a defender installed.
ScannedFunctions is the number functions being scanned for vulnerabilities and compliance issues without a defender installed.
ServerlessTimestamp is the timestamp for the last serverless credit calculation.
Timestamp is the last collection timestamp.
TotalCreditUsage is the total amount of credits used from the beginning of the current contract.
{
"avg": 0,
"containerDefenders": 0,
"dailySamplesDefenders": [
0
],
"exceeded": true,
"hostDefenders": 0,
"hourAvg": 0,
"hourSamples": 0,
"monthlyUsage": [
{
"appEmbedded": {
"creditCount": 0,
"defendersCount": 0
},
"container": {
"creditCount": 0,
"defendersCount": 0
},
"containerAgentless": {
"creditCount": 0,
"defendersCount": 0
},
"host": {
"creditCount": 0,
"defendersCount": 0
},
"hostAgentless": {
"creditCount": 0,
"defendersCount": 0
},
"period": "2024-07-29T15:51:28.071Z",
"remainingCredits": 0,
"serverless": {
"creditCount": 0,
"defendersCount": 0,
"protectedFunctions": 0,
"scannedFunctions": 0
},
"waas": {
"creditCount": 0,
"defendersCount": 0
},
"waasOutOfBand": {
"creditCount": 0,
"defendersCount": 0
}
}
],
"msg": "string",
"onDemandCredits": 0,
"protectedFunctions": 0,
"scannedFunctions": 0,
"serverlessTimestamp": "2024-07-29T15:51:28.071Z",
"timestamp": "2024-07-29T15:51:28.071Z",
"totalCreditUsage": 0
}