[
    {
        "message": "Behavioural check (active): resource launched in public subnet is not assigned an external IP",
        "metadata": {
            "event_code": "Behavioural check (active): resource launched in public subnet is not assigned an external IP",
            "product": {
                "name": "CCC-Complete (Behavioural)",
                "uid": "CCC-Complete (Behavioural)",
                "vendor_name": "FINOS",
                "version": "0.1"
            },
            "profiles": [
                "@CCC.VPC.CN02",
                "@CCC.VPC.CN02.AR01",
                "@tlp-red",
                "@vpc",
                "@Behavioural",
                "@MAIN",
                "@CCC.VPC"
            ],
            "version": "1.4.0"
        },
        "severity_id": 3,
        "severity": "Medium",
        "status": "New",
        "status_code": "FAIL",
        "status_detail": "✓ a cloud api for \"{config}\" in \"api\"\n✓ I call \"{api}\" with \"GetServiceAPI\" using argument \"vpc\"\n✓ I refer to \"{result}\" as \"vpcService\"\n✓ I refer to \"{uid}\" as \"TargetVpcId\"\n✓ I call \"{vpcService}\" with \"SelectPublicSubnetForTest\" using argument \"{TargetVpcId}\"\n✓ I refer to \"{result.SubnetId}\" as \"TestSubnetId\"\n✓ I call \"{vpcService}\" with \"CreateTestResourceInSubnet\" using argument \"{TestSubnetId}\"\n✓ I refer to \"{result.ResourceId}\" as \"TestResourceId\"\n✓ I call \"{vpcService}\" with \"GetResourceExternalIpAssignment\" using argument \"{TestResourceId}\"\n✓ I refer to \"{result.HasExternalIp}\" as \"HasExternalIp\"\n✓ \"{HasExternalIp}\" is false\n✓ I call \"{vpcService}\" with \"DeleteTestResource\" using argument \"{TestResourceId}\"\n✗ \"{result.Deleted}\" is true - Error: expected {result.Deleted} to be truthy, got \u003cnil\u003e (type: \u003cnil\u003e)",
        "status_id": 1,
        "unmapped": {
            "compliance": {
                "CCC": [
                    "CCC.VPC.CN02.AR01"
                ]
            }
        },
        "activity_name": "Test",
        "activity_id": 1,
        "finding_info": {
            "created_time": 1781627522,
            "created_time_dt": "2026-06-16T16:32:02Z",
            "desc": "Compliance test scenario: Behavioural check (active): resource launched in public subnet is not assigned an external IP",
            "title": "Behavioural check (active): resource launched in public subnet is not assigned an external IP",
            "types": [],
            "uid": "ccc-test-67-1781627522"
        },
        "category_name": "Findings",
        "category_uid": 2,
        "class_name": "Compliance Finding",
        "class_uid": 2004,
        "time": 1781627522,
        "time_dt": "2026-06-16T16:32:02Z",
        "type_uid": 200401,
        "type_name": "Compliance Finding: Test",
        "resources": [
            {
                "cloud_partition": "aws",
                "region": "us-east-1",
                "data": {
                    "details": " service on :",
                    "metadata": {
                        "name": "vpc-0bb401c645b96d16b",
                        "status": "ACTIVE",
                        "findings": [],
                        "tags": [],
                        "type": "vpc",
                        "region": "us-east-1"
                    }
                },
                "group": {
                    "name": "vpc"
                },
                "name": "vpc-0bb401c645b96d16b",
                "type": "vpc",
                "uid": "vpc-0bb401c645b96d16b"
            }
        ]
    },
    {
        "message": "Behavioral check (active): traffic produces flow log records",
        "metadata": {
            "event_code": "Behavioral check (active): traffic produces flow log records",
            "product": {
                "name": "CCC-Complete (Behavioural)",
                "uid": "CCC-Complete (Behavioural)",
                "vendor_name": "FINOS",
                "version": "0.1"
            },
            "profiles": [
                "@CCC.VPC.CN04",
                "@CCC.VPC.CN04.AR01",
                "@tlp-amber",
                "@tlp-red",
                "@vpc",
                "@Behavioural",
                "@MAIN",
                "@CCC.VPC"
            ],
            "version": "1.4.0"
        },
        "severity_id": 3,
        "severity": "Medium",
        "status": "New",
        "status_code": "FAIL",
        "status_detail": "✓ a cloud api for \"{config}\" in \"api\"\n✓ I call \"{api}\" with \"GetServiceAPI\" using argument \"vpc\"\n✓ I refer to \"{result}\" as \"vpcService\"\n✓ I call \"{api}\" with \"GetServiceAPI\" using argument \"logging\"\n✓ I refer to \"{result}\" as \"loggingService\"\n✓ I refer to \"{uid}\" as \"TargetVpcId\"\n✓ I call \"{vpcService}\" with \"GenerateTestTraffic\" using argument \"{TargetVpcId}\"\n✓ I refer to \"{result.ResourceId}\" as \"TestResourceId\"\n✓ I refer to \"{result.CleanupDeleted}\" as \"TrafficCleanupDeleted\"\n✓ we wait for a period of \"60000\" ms\n✓ I call \"{loggingService}\" with \"QueryLogs\" using arguments \"{TargetVpcId}\", \"flow\", and \"{20}\"\n✓ \"{result}\" is not an error\n✓ I refer to \"{result}\" as \"FlowLogRecords\"\n✓ I attach \"{FlowLogRecords}\" to the test output as \"Flow Log Records\"\n✗ \"{TrafficCleanupDeleted}\" is true - Error: expected {TrafficCleanupDeleted} to be truthy, got \u003cnil\u003e (type: \u003cnil\u003e)\n⊘ \"{FlowLogRecords}\" is an array of objects with at least the following contents (skipped)",
        "status_id": 1,
        "unmapped": {
            "compliance": {
                "CCC": [
                    "CCC.VPC.CN04.AR01"
                ]
            }
        },
        "activity_name": "Test",
        "activity_id": 1,
        "finding_info": {
            "created_time": 1781627522,
            "created_time_dt": "2026-06-16T16:32:02Z",
            "desc": "Compliance test scenario: Behavioral check (active): traffic produces flow log records",
            "title": "Behavioral check (active): traffic produces flow log records",
            "types": [],
            "uid": "ccc-test-210-1781627522"
        },
        "category_name": "Findings",
        "category_uid": 2,
        "class_name": "Compliance Finding",
        "class_uid": 2004,
        "time": 1781627522,
        "time_dt": "2026-06-16T16:32:02Z",
        "type_uid": 200401,
        "type_name": "Compliance Finding: Test",
        "resources": [
            {
                "cloud_partition": "aws",
                "region": "us-east-1",
                "data": {
                    "details": " service on :",
                    "metadata": {
                        "name": "vpc-0bb401c645b96d16b",
                        "status": "ACTIVE",
                        "findings": [],
                        "tags": [],
                        "type": "vpc",
                        "region": "us-east-1"
                    }
                },
                "group": {
                    "name": "vpc"
                },
                "name": "vpc-0bb401c645b96d16b",
                "type": "vpc",
                "uid": "vpc-0bb401c645b96d16b"
            }
        ]
    }
]