driftctl/pkg/cmd/scan/output/testdata/output.json

80 lines
1.2 KiB
JSON
Raw Normal View History

{
"summary": {
"total_resources": 6,
"total_changed": 1,
"total_unmanaged": 2,
"total_missing": 2,
"total_managed": 2
},
"managed": [
{
"id": "diff-id-1",
"type": "aws_diff_resource"
},
{
"id": "no-diff-id-1",
"type": "aws_no_diff_resource"
}
],
"unmanaged": [
{
"id": "unmanaged-id-1",
"type": "aws_unmanaged_resource"
},
{
"id": "unmanaged-id-2",
"type": "aws_unmanaged_resource"
}
],
"missing": [
{
"id": "deleted-id-1",
"type": "aws_deleted_resource"
},
{
"id": "deleted-id-2",
"type": "aws_deleted_resource"
}
],
"differences": [
{
"res": {
"id": "diff-id-1",
"type": "aws_diff_resource"
},
"changelog": [
{
"type": "update",
"path": [
"updated",
"field"
],
"from": "foobar",
2021-01-08 17:14:26 +00:00
"to": "barfoo",
"computed": false
},
{
"type": "create",
"path": [
"new",
"field"
],
"from": null,
2021-01-08 17:14:26 +00:00
"to": "newValue",
"computed": false
},
{
"type": "delete",
"path": [
"a"
],
"from": "oldValue",
2021-01-08 17:14:26 +00:00
"to": null,
"computed": false
}
]
}
],
2020-12-16 12:02:02 +00:00
"coverage": 33,
"alerts": null
}