Skip to content

Commit

Permalink
[Cloud Security] update cloud security telemetry interface
Browse files Browse the repository at this point in the history
  • Loading branch information
CohenIdo authored Apr 24, 2023
1 parent 743325d commit 67927e1
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { BaseCspSetupBothPolicy } from '../../../../common/types';
import { CspStatusCode } from '../../../../common/types';

export interface CspmUsage {
indices: CspmIndicesStats;
Expand All @@ -14,16 +14,22 @@ export interface CspmUsage {
rules_stats: CspmRulesStats[];
}

export interface PackageSetupStatus {
status: CspStatusCode;
installedPackagePolicies: number;
healthyAgents: number;
}

export interface CspmIndicesStats {
findings: IndexStats | {};
latest_findings: IndexStats | {};
vulnerabilities: IndexStats | {};
latest_vulnerabilities: IndexStats | {};
score: IndexStats | {};
latestPackageVersion: string;
cspm: BaseCspSetupBothPolicy;
kspm: BaseCspSetupBothPolicy;
vuln_mgmt: BaseCspSetupBothPolicy;
cspm: PackageSetupStatus;
kspm: PackageSetupStatus;
vuln_mgmt: PackageSetupStatus;
}

export interface IndexStats {
Expand Down

0 comments on commit 67927e1

Please sign in to comment.