mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Cloud Security] update cloud security telemetry interface
This commit is contained in:
parent
743325dc85
commit
67927e12b2
1 changed files with 10 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { BaseCspSetupBothPolicy } from '../../../../common/types';
|
||||
import { CspStatusCode } from '../../../../common/types';
|
||||
|
||||
export interface CspmUsage {
|
||||
indices: CspmIndicesStats;
|
||||
|
@ -14,6 +14,12 @@ export interface CspmUsage {
|
|||
rules_stats: CspmRulesStats[];
|
||||
}
|
||||
|
||||
export interface PackageSetupStatus {
|
||||
status: CspStatusCode;
|
||||
installedPackagePolicies: number;
|
||||
healthyAgents: number;
|
||||
}
|
||||
|
||||
export interface CspmIndicesStats {
|
||||
findings: IndexStats | {};
|
||||
latest_findings: IndexStats | {};
|
||||
|
@ -21,9 +27,9 @@ export interface CspmIndicesStats {
|
|||
latest_vulnerabilities: IndexStats | {};
|
||||
score: IndexStats | {};
|
||||
latestPackageVersion: string;
|
||||
cspm: BaseCspSetupBothPolicy;
|
||||
kspm: BaseCspSetupBothPolicy;
|
||||
vuln_mgmt: BaseCspSetupBothPolicy;
|
||||
cspm: PackageSetupStatus;
|
||||
kspm: PackageSetupStatus;
|
||||
vuln_mgmt: PackageSetupStatus;
|
||||
}
|
||||
|
||||
export interface IndexStats {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue