Add control severity in the check run CSV output. Closes #1966

This commit is contained in:
Puskar Basu
2022-05-13 17:07:07 +05:30
committed by GitHub
parent dbcbeb1621
commit 095d34c00a
4 changed files with 62 additions and 56 deletions

View File

@@ -1,6 +1,6 @@
{{ define "output" }}
{{- if render_context.Config.RenderHeader -}}
group_id,title,description,control_id,control_title,control_description,reason,resource,status{{ range .Data.Root.DimensionKeys }},{{ . }}{{ end }}{{range .Data.Root.AllTagKeys }},{{ . }}{{ end }}
group_id,title,description,control_id,control_title,control_description,reason,resource,status,severity{{ range .Data.Root.DimensionKeys }},{{ . }}{{ end }}{{range .Data.Root.AllTagKeys }},{{ . }}{{ end }}
{{ end -}}
{{ template "result_group_template" .Data.Root }}
{{ end }}
@@ -18,7 +18,7 @@ group_id,title,description,control_id,control_title,control_description,reason,r
{{ end }}{{ end }}
{{ define "control_row_template" -}}
{{- template "group_details" . }},{{ template "control_details" . }},{{ template "reason_resource_status" . }}{{ template "dimensions" . }}{{ template "tags" . -}}
{{- template "group_details" . }},{{ template "control_details" . }},{{ template "reason_resource_status" . }},{{ template "control_severity" . }}{{ template "dimensions" . }}{{ template "tags" . -}}
{{- end }}
{{ define "group_details" -}}
@@ -29,6 +29,10 @@ group_id,title,description,control_id,control_title,control_description,reason,r
{{ toCsvCell .Run.ControlId }},{{ toCsvCell .Run.Title }},{{ toCsvCell .Run.Description -}}
{{- end }}
{{ define "control_severity" -}}
{{ toCsvCell .Run.Severity -}}
{{- end }}
{{ define "reason_resource_status" -}}
{{ toCsvCell .Reason }},{{ toCsvCell .Resource }},{{ toCsvCell .Status -}}
{{- end }}

View File

@@ -1,22 +1,23 @@
group_id,title,description,control_id,control_title,control_description,reason,resource,status,id
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,16
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,17
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,11
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,12
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,13
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,14
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,15
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,19
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,20
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,21
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,1
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,2
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,3
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,4
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,5
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,6
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,7
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,8
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,9
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,10
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource is skipped,steampipe,skip,18
group_id,title,description,control_id,control_title,control_description,reason,resource,status,severity,id
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,high,16
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,high,17
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,11
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,12
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,13
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,14
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,15
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,19
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,20
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,21
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,1
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,2
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,3
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,4
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,5
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,6
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,7
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,8
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,9
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,10
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource is skipped,steampipe,skip,high,18
1 group_id title description control_id control_title control_description reason resource status severity id
2 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource has some error steampipe error high 16
3 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource has some error steampipe error high 17
4 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 11
5 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 12
6 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 13
7 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 14
8 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 15
9 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 19
10 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 20
11 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 21
12 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 1
13 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 2
14 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 3
15 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 4
16 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 5
17 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 6
18 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 7
19 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 8
20 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 9
21 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 10
22 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource is skipped steampipe skip high 18
23

View File

@@ -1,21 +1,22 @@
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,16
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,17
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,11
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,12
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,13
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,14
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,15
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,19
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,20
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,21
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,1
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,2
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,3
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,4
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,5
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,6
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,7
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,8
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,9
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,10
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource is skipped,steampipe,skip,18
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,high,16
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource has some error,steampipe,error,high,17
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,11
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,12
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,13
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,14
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource does not satisfy condition,steampipe,alarm,high,15
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,19
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,20
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Information,steampipe,info,high,21
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,1
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,2
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,3
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,4
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,5
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,6
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,7
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,8
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,9
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource satisfies condition,steampipe,ok,high,10
root_result_group,,,control.sample_control_mixed_results_1,Sample control with all possible statuses(severity=high),"Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO",Resource is skipped,steampipe,skip,high,18
1 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource has some error steampipe error high 16
2 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource has some error steampipe error high 17
3 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 11
4 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 12
5 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 13
6 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 14
7 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource does not satisfy condition steampipe alarm high 15
8 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 19
9 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 20
10 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Information steampipe info high 21
11 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 1
12 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 2
13 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 3
14 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 4
15 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 5
16 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 6
17 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 7
18 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 8
19 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 9
20 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource satisfies condition steampipe ok high 10
21 root_result_group control.sample_control_mixed_results_1 Sample control with all possible statuses(severity=high) Sample control that returns 10 OK, 5 ALARM, 2 ERROR, 1 SKIP and 3 INFO Resource is skipped steampipe skip high 18
22

View File

@@ -1,12 +1,12 @@
group_id,title,description,control_id,control_title,control_description,reason,resource,status,id,module,version,abc,foo,purpose
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,6,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,7,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,8,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,9,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,10,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,1,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,2,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,3,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,4,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,5,xyz,0.1.0,def,bar,testing
group_id,title,description,control_id,control_title,control_description,reason,resource,status,severity,id,module,version,abc,foo,purpose
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,critical,6,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,critical,7,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,critical,8,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,critical,9,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource does not satisfy condition,steampipe,alarm,critical,10,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,critical,1,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,critical,2,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,critical,3,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,critical,4,xyz,0.1.0,def,bar,testing
root_result_group,,,control.sample_control_sorted_tags_and_dimensions,Sample control with tags and dimensions,Sample control to check tags and dimensions sorting,Resource satisfies condition,steampipe,ok,critical,5,xyz,0.1.0,def,bar,testing
1 group_id title description control_id control_title control_description reason resource status severity id module version abc foo purpose
2 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource does not satisfy condition steampipe alarm critical 6 xyz 0.1.0 def bar testing
3 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource does not satisfy condition steampipe alarm critical 7 xyz 0.1.0 def bar testing
4 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource does not satisfy condition steampipe alarm critical 8 xyz 0.1.0 def bar testing
5 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource does not satisfy condition steampipe alarm critical 9 xyz 0.1.0 def bar testing
6 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource does not satisfy condition steampipe alarm critical 10 xyz 0.1.0 def bar testing
7 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource satisfies condition steampipe ok critical 1 xyz 0.1.0 def bar testing
8 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource satisfies condition steampipe ok critical 2 xyz 0.1.0 def bar testing
9 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource satisfies condition steampipe ok critical 3 xyz 0.1.0 def bar testing
10 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource satisfies condition steampipe ok critical 4 xyz 0.1.0 def bar testing
11 root_result_group control.sample_control_sorted_tags_and_dimensions Sample control with tags and dimensions Sample control to check tags and dimensions sorting Resource satisfies condition steampipe ok critical 5 xyz 0.1.0 def bar testing
12