refactor(cmd): rename deleted to missing in json output
parent
03fc4062be
commit
01a637f494
|
@ -24,7 +24,7 @@ type Summary struct {
|
|||
TotalResources int `json:"total_resources"`
|
||||
TotalDrifted int `json:"total_drifted"`
|
||||
TotalUnmanaged int `json:"total_unmanaged"`
|
||||
TotalDeleted int `json:"total_deleted"`
|
||||
TotalDeleted int `json:"total_missing"`
|
||||
TotalManaged int `json:"total_managed"`
|
||||
}
|
||||
|
||||
|
@ -46,7 +46,7 @@ type serializableAnalysis struct {
|
|||
Summary Summary `json:"summary"`
|
||||
Managed []resource.SerializableResource `json:"managed"`
|
||||
Unmanaged []resource.SerializableResource `json:"unmanaged"`
|
||||
Deleted []resource.SerializableResource `json:"deleted"`
|
||||
Deleted []resource.SerializableResource `json:"missing"`
|
||||
Differences []serializableDifference `json:"differences"`
|
||||
Coverage int `json:"coverage"`
|
||||
Alerts map[string][]alerter.SerializableAlert `json:"alerts"`
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"total_resources": 6,
|
||||
"total_drifted": 1,
|
||||
"total_unmanaged": 2,
|
||||
"total_deleted": 2,
|
||||
"total_missing": 2,
|
||||
"total_managed": 2
|
||||
},
|
||||
"managed": [
|
||||
|
@ -26,7 +26,7 @@
|
|||
"type": "aws_s3_bucket_notification"
|
||||
}
|
||||
],
|
||||
"deleted": [
|
||||
"missing": [
|
||||
{
|
||||
"id": "test-driftctl2",
|
||||
"type": "aws_iam_user"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"total_resources": 6,
|
||||
"total_drifted": 1,
|
||||
"total_unmanaged": 2,
|
||||
"total_deleted": 2,
|
||||
"total_missing": 2,
|
||||
"total_managed": 2
|
||||
},
|
||||
"managed": [
|
||||
|
@ -26,7 +26,7 @@
|
|||
"type": "aws_s3_bucket_notification"
|
||||
}
|
||||
],
|
||||
"deleted": [
|
||||
"missing": [
|
||||
{
|
||||
"id": "test-driftctl2",
|
||||
"type": "aws_iam_user"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"total_resources": 6,
|
||||
"total_drifted": 1,
|
||||
"total_unmanaged": 2,
|
||||
"total_deleted": 2,
|
||||
"total_missing": 2,
|
||||
"total_managed": 2
|
||||
},
|
||||
"managed": [
|
||||
|
@ -26,7 +26,7 @@
|
|||
"type": "aws_unmanaged_resource"
|
||||
}
|
||||
],
|
||||
"deleted": [
|
||||
"missing": [
|
||||
{
|
||||
"id": "deleted-id-1",
|
||||
"type": "aws_deleted_resource"
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"total_resources": 0,
|
||||
"total_drifted": 0,
|
||||
"total_unmanaged": 0,
|
||||
"total_deleted": 0,
|
||||
"total_missing": 0,
|
||||
"total_managed": 0
|
||||
},
|
||||
"managed": null,
|
||||
"unmanaged": null,
|
||||
"deleted": null,
|
||||
"missing": null,
|
||||
"differences": null,
|
||||
"coverage": 0,
|
||||
"alerts": {
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
"total_resources": 0,
|
||||
"total_drifted": 0,
|
||||
"total_unmanaged": 0,
|
||||
"total_deleted": 0,
|
||||
"total_missing": 0,
|
||||
"total_managed": 0
|
||||
},
|
||||
"managed": null,
|
||||
"unmanaged": null,
|
||||
"deleted": null,
|
||||
"missing": null,
|
||||
"differences": null,
|
||||
"coverage": 0,
|
||||
"alerts": {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"total_resources": 1,
|
||||
"total_drifted": 1,
|
||||
"total_unmanaged": 0,
|
||||
"total_deleted": 0,
|
||||
"total_missing": 0,
|
||||
"total_managed": 1
|
||||
},
|
||||
"managed": [
|
||||
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
],
|
||||
"unmanaged": null,
|
||||
"deleted": null,
|
||||
"missing": null,
|
||||
"differences": [
|
||||
{
|
||||
"res": {
|
||||
|
|
Loading…
Reference in New Issue