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

80 lines
1.2 KiB
JSON

{
"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",
"to": "barfoo",
"computed": false
},
{
"type": "create",
"path": [
"new",
"field"
],
"from": null,
"to": "newValue",
"computed": false
},
{
"type": "delete",
"path": [
"a"
],
"from": "oldValue",
"to": null,
"computed": false
}
]
}
],
"coverage": 33,
"alerts": null
}