diff --git a/control/controldisplay/templates/csv/output.tmpl b/control/controldisplay/templates/csv/output.tmpl index 98ed031fd..22b663db8 100644 --- a/control/controldisplay/templates/csv/output.tmpl +++ b/control/controldisplay/templates/csv/output.tmpl @@ -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 }} diff --git a/tests/acceptance/test_data/templates/expected_check_csv.csv b/tests/acceptance/test_data/templates/expected_check_csv.csv index 1e6c2e8e8..a79467ee1 100644 --- a/tests/acceptance/test_data/templates/expected_check_csv.csv +++ b/tests/acceptance/test_data/templates/expected_check_csv.csv @@ -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 + diff --git a/tests/acceptance/test_data/templates/expected_check_csv_noheader.csv b/tests/acceptance/test_data/templates/expected_check_csv_noheader.csv index 877705f39..2e242b8a3 100644 --- a/tests/acceptance/test_data/templates/expected_check_csv_noheader.csv +++ b/tests/acceptance/test_data/templates/expected_check_csv_noheader.csv @@ -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 + diff --git a/tests/acceptance/test_data/templates/expected_check_csv_sorted_tags.csv b/tests/acceptance/test_data/templates/expected_check_csv_sorted_tags.csv index 009cd66b2..e957e32da 100644 --- a/tests/acceptance/test_data/templates/expected_check_csv_sorted_tags.csv +++ b/tests/acceptance/test_data/templates/expected_check_csv_sorted_tags.csv @@ -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