Skip to content

Commit

Permalink
Minor tweaks to protobuf messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
blkt committed Jul 10, 2024
1 parent c9b4400 commit e1c933d
Show file tree
Hide file tree
Showing 5 changed files with 804 additions and 803 deletions.
6 changes: 3 additions & 3 deletions docs/docs/ref/proto.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions internal/controlplane/handlers_evalstatus.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,20 +162,20 @@ func fromEvaluationHistoryRow(
}

res = append(res, &minderv1.EvaluationHistory{
EvaluatedAt: timestamppb.New(row.EvaluatedAt),
Entity: &minderv1.EvaluationHistoryEntity{
Id: row.EvaluationID.String(),
Type: entityType,
Name: entityName,
},
Rule: &minderv1.EvaluationHistoryRule{
Name: row.RuleName,
Type: row.RuleType,
Profile: row.ProfileName,
Name: row.RuleName,
RuleType: row.RuleType,
Profile: row.ProfileName,
},
Status: &minderv1.EvaluationHistoryStatus{
Status: string(row.EvaluationStatus),
Details: row.EvaluationDetails,
EvaluatedAt: timestamppb.New(row.EvaluatedAt),
Status: string(row.EvaluationStatus),
Details: row.EvaluationDetails,
},
Alert: alert,
Remediation: remediation,
Expand Down
14 changes: 7 additions & 7 deletions pkg/api/openapi/minder/v1/minder.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e1c933d

Please sign in to comment.