diff --git a/pkg/analyser/analysis.go b/pkg/analyser/analysis.go index 38d0a3c9..cbe4b3b6 100644 --- a/pkg/analyser/analysis.go +++ b/pkg/analyser/analysis.go @@ -25,7 +25,7 @@ type Difference struct { type Summary struct { TotalResources int `json:"total_resources"` - TotalDrifted int `json:"total_drifted"` + TotalDrifted int `json:"total_changed"` TotalUnmanaged int `json:"total_unmanaged"` TotalDeleted int `json:"total_missing"` TotalManaged int `json:"total_managed"` diff --git a/pkg/analyser/testdata/output.json b/pkg/analyser/testdata/output.json index 9d504a80..3f2c0c59 100644 --- a/pkg/analyser/testdata/output.json +++ b/pkg/analyser/testdata/output.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 6, - "total_drifted": 1, + "total_changed": 1, "total_unmanaged": 2, "total_missing": 2, "total_managed": 2 diff --git a/pkg/cmd/scan/output/testdata/output.json b/pkg/cmd/scan/output/testdata/output.json index 56b2f804..90d64822 100644 --- a/pkg/cmd/scan/output/testdata/output.json +++ b/pkg/cmd/scan/output/testdata/output.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 6, - "total_drifted": 1, + "total_changed": 1, "total_unmanaged": 2, "total_missing": 2, "total_managed": 2 diff --git a/pkg/cmd/scan/output/testdata/output_access_denied_alert_aws.json b/pkg/cmd/scan/output/testdata/output_access_denied_alert_aws.json index 950b6c63..c6cc924a 100644 --- a/pkg/cmd/scan/output/testdata/output_access_denied_alert_aws.json +++ b/pkg/cmd/scan/output/testdata/output_access_denied_alert_aws.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 0, - "total_drifted": 0, + "total_changed": 0, "total_unmanaged": 0, "total_missing": 0, "total_managed": 0 diff --git a/pkg/cmd/scan/output/testdata/output_access_denied_alert_github.json b/pkg/cmd/scan/output/testdata/output_access_denied_alert_github.json index 8bfc5b0a..92a0b305 100644 --- a/pkg/cmd/scan/output/testdata/output_access_denied_alert_github.json +++ b/pkg/cmd/scan/output/testdata/output_access_denied_alert_github.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 0, - "total_drifted": 0, + "total_changed": 0, "total_unmanaged": 0, "total_missing": 0, "total_managed": 0 diff --git a/pkg/cmd/scan/output/testdata/output_computed_fields.json b/pkg/cmd/scan/output/testdata/output_computed_fields.json index 7dc73092..8f8f88f2 100644 --- a/pkg/cmd/scan/output/testdata/output_computed_fields.json +++ b/pkg/cmd/scan/output/testdata/output_computed_fields.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 1, - "total_drifted": 1, + "total_changed": 1, "total_unmanaged": 0, "total_missing": 0, "total_managed": 1 diff --git a/pkg/cmd/scan/output/testdata/output_multiples_times.json b/pkg/cmd/scan/output/testdata/output_multiples_times.json index ff8b6755..fc772e63 100644 --- a/pkg/cmd/scan/output/testdata/output_multiples_times.json +++ b/pkg/cmd/scan/output/testdata/output_multiples_times.json @@ -1,7 +1,7 @@ { "summary": { "total_resources": 0, - "total_drifted": 0, + "total_changed": 0, "total_unmanaged": 0, "total_missing": 0, "total_managed": 0