Skip to content

Commit

Permalink
🗻 move to bigger ints for stats (#1192)
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Richter <[email protected]>
  • Loading branch information
arlimus authored Mar 20, 2024
1 parent c4fed18 commit 6ef40e6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions policy/cnspec_policy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ message ScoredRiskFactors {

message RiskFactorStats {
string id = 1;
uint32 affected = 2;
uint32 total = 3;
uint64 affected = 2;
uint64 total = 3;
}

message RiskFactorsStats {
Expand Down Expand Up @@ -603,21 +603,21 @@ message ScoreDistribution {
message ScoreStats {
// Assets in the top groups of stats. For the total number of assets in the
// stats just add up all the categories.
uint32 assets = 1;
uint64 assets = 1;
// Critical findings
uint32 critical = 3;
uint64 critical = 3;
// High risk findings
uint32 high = 4;
uint64 high = 4;
// Medium risk findings
uint32 medium = 5;
uint64 medium = 5;
// Low risks findings
uint32 low = 6;
uint64 low = 6;
// Passing observations
uint32 pass = 7;
uint64 pass = 7;
// Unknown results
uint32 unknown = 8;
uint64 unknown = 8;
// Error results
uint32 error = 9;
uint64 error = 9;
// First time a failure was detected
int64 first_failure_time = 10;
// Oldest scan in the set of assets observed
Expand Down

0 comments on commit 6ef40e6

Please sign in to comment.