Interface: CustomerAppConsumption
Defined in: src/airs/types.ts:1145
Per-app consumption + violation snapshot, normalized from the SDK's dashboard endpoints. Time window is fixed at construction.
Properties
appId
appId:
string
Defined in: src/airs/types.ts:1146
appName
appName:
string
Defined in: src/airs/types.ts:1147
cloud?
optionalcloud?:string
Defined in: src/airs/types.ts:1148
detectors
detectors:
object[]
Defined in: src/airs/types.ts:1167
Per-detector violation severity counts, one entry per detection_type.
critical
critical:
number
high
high:
number
low
low:
number
medium
medium:
number
total
total:
number
type
type:
string
monitoringSince?
optionalmonitoringSince?:string
Defined in: src/airs/types.ts:1151
ISO timestamp of first monitoring (corresponds to SCM panel's "Monitoring Since").
profiles
profiles:
string[]
Defined in: src/airs/types.ts:1153
Attached security profile names.
sessions
sessions:
object
Defined in: src/airs/types.ts:1162
Session activity counts over the window.
total
total:
number
violating
violating:
number
source?
optionalsource?:string
Defined in: src/airs/types.ts:1149
tokens
tokens:
object
Defined in: src/airs/types.ts:1155
Token consumption stats with scale qualifier (K = thousands, M = millions).
dailyAverage?
optionaldailyAverage?:number
dailyAverageScale?
optionaldailyAverageScale?:string
monthlyTotal?
optionalmonthlyTotal?:number
monthlyTotalScale?
optionalmonthlyTotalScale?:string
totalViolating
totalViolating:
number
Defined in: src/airs/types.ts:1176
Sum of violating sessions across all detectors (mirrors SCM panel's badge).