File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,7 @@ func convertRunsToStateInfo(runs []policies.RunData) []messages.RunStateInfo {
113113 for i , run := range runs {
114114 runInfos [i ] = messages.RunStateInfo {
115115 ID : run .ID ,
116+ PolicyID : run .PolicyID ,
116117 Status : run .Status ,
117118 Reason : run .Reason ,
118119 EntityCount : run .EntityCount ,
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ type BackendStateInfo struct {
3333// RunStateInfo contains state information for a run
3434type RunStateInfo struct {
3535 ID string `json:"id"`
36+ PolicyID string `json:"policy_id"`
3637 Status string `json:"status"`
3738 Reason string `json:"reason,omitempty"`
3839 EntityCount * int64 `json:"entity_count,omitempty"`
Original file line number Diff line number Diff line change 88// RunData represents run information for a policy
99type RunData struct {
1010 ID string `json:"id"`
11+ PolicyID string `json:"policy_id"`
1112 Status string `json:"status"`
1213 Reason string `json:"reason,omitempty"`
1314 EntityCount * int64 `json:"entity_count,omitempty"`
You can’t perform that action at this time.
0 commit comments