driftctl/pkg/analyser/testdata/output.json

80 lines
1.3 KiB
JSON

{
"options": {
"deep": false,
"only_managed": false,
"only_unmanaged": false
},
"summary": {
"total_resources": 6,
"total_changed": 1,
"total_unmanaged": 2,
"total_missing": 2,
"total_managed": 2,
"total_iac_source_count": 1
},
"managed": [
{
"id": "AKIA5QYBVVD25KFXJHYJ",
"type": "aws_iam_access_key"
},
{
"id": "driftctl2",
"type": "aws_managed_resource"
}
],
"unmanaged": [
{
"id": "driftctl",
"type": "aws_s3_bucket_policy"
},
{
"id": "driftctl",
"type": "aws_s3_bucket_notification"
}
],
"missing": [
{
"id": "test-driftctl2",
"type": "aws_iam_user"
},
{
"id": "AKIA5QYBVVD2Y6PBAAPY",
"type": "aws_iam_access_key"
}
],
"differences": [
{
"res": {
"id": "AKIA5QYBVVD25KFXJHYJ",
"type": "aws_iam_access_key",
"source": {
"source": "tfstate://terraform.tfstate",
"namespace": "module",
"internal_name": "my_name"
}
},
"changelog": [
{
"type": "update",
"path": [
"status"
],
"from": "Active",
"to": "Inactive",
"computed": false
}
]
}
],
"coverage": 33,
"alerts": {
"aws_iam_access_key": [
{
"message": "This is an alert"
}
]
},
"provider_name": "AWS",
"provider_version": "2.18.5",
"scan_duration": 241
}