[
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "79f1c0f4-0f2f-5851-916c-03cdb5b2d45b",
        "Level": "Warning",
        "Location": {
            "End": {
                "ColumnNumber": 3,
                "LineNumber": 8
            },
            "Path": [
                "Conditions",
                "cApprovedAMIsRule",
                "Fn::Not",
                0
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 5
            }
        },
        "Message": "['', ''] will always return True or False",
        "ParentId": null,
        "Rule": {
            "Description": "Validate Fn::Equals to see if its comparing two strings or two equal items. While this works it may not be intended.",
            "Id": "W8003",
            "ShortDescription": "Fn::Equals will always return true or false",
            "Source": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-conditions.html#intrinsic-function-reference-conditions-equals"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "96ea5faf-f8dc-9d44-5f65-699672170646",
        "Level": "Warning",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 35
            },
            "Path": [
                "Resources",
                "rAMIComplianceFunction",
                "DependsOn"
            ],
            "Start": {
                "ColumnNumber": 5,
                "LineNumber": 35
            }
        },
        "Message": "'rConfigRulesLambdaRole' dependency already enforced by a 'GetAtt' at 'Resources/rAMIComplianceFunction/Properties/Role'",
        "ParentId": null,
        "Rule": {
            "Description": "Check if DependsOn is specified if not needed. A Ref or a Fn::GetAtt already is an implicit dependency.",
            "Id": "W3005",
            "ShortDescription": "Check obsolete DependsOn configuration for Resources",
            "Source": "https://aws.amazon.com/blogs/devops/optimize-aws-cloudformation-templates/"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "97080445-d6e4-6198-6d62-dca2cdb88863",
        "Level": "Error",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 94
            },
            "Path": [
                "Resources",
                "rAMIComplianceFunction",
                "Properties",
                "Runtime"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 94
            }
        },
        "Message": "Runtime 'nodejs' was deprecated on '2016-08-30'. Creation was disabled on '2016-09-30' and update on '2016-10-31'. Please consider updating to 'nodejs24.x'",
        "ParentId": null,
        "Rule": {
            "Description": "Check if an EOL Lambda Runtime is specified and you cannot update the function",
            "Id": "E2533",
            "ShortDescription": "Check if Lambda Function Runtimes are updatable",
            "Source": "https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "cad3b9a8-45a2-9ed9-2e0a-2f0948cfbf8d",
        "Level": "Error",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 95
            },
            "Path": [
                "Resources",
                "rAMIComplianceFunction",
                "Properties",
                "Timeout"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 95
            }
        },
        "Message": "'30' is not of type 'integer'",
        "ParentId": null,
        "Rule": {
            "Description": "Checks resource property values with Primitive Types for values that match those types.",
            "Id": "E3012",
            "ShortDescription": "Check resource properties values",
            "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#type"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "d99634ac-04a8-0d39-c51e-678245cc5701",
        "Level": "Warning",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 98
            },
            "Path": [
                "Resources",
                "rCloudTrailValidationFunction",
                "DependsOn"
            ],
            "Start": {
                "ColumnNumber": 5,
                "LineNumber": 98
            }
        },
        "Message": "'rConfigRulesLambdaRole' dependency already enforced by a 'GetAtt' at 'Resources/rCloudTrailValidationFunction/Properties/Role'",
        "ParentId": null,
        "Rule": {
            "Description": "Check if DependsOn is specified if not needed. A Ref or a Fn::GetAtt already is an implicit dependency.",
            "Id": "W3005",
            "ShortDescription": "Check obsolete DependsOn configuration for Resources",
            "Source": "https://aws.amazon.com/blogs/devops/optimize-aws-cloudformation-templates/"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "e3939bea-03c8-f7fb-599a-5fd56a81318c",
        "Level": "Error",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 159
            },
            "Path": [
                "Resources",
                "rCloudTrailValidationFunction",
                "Properties",
                "Runtime"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 159
            }
        },
        "Message": "Runtime 'nodejs' was deprecated on '2016-08-30'. Creation was disabled on '2016-09-30' and update on '2016-10-31'. Please consider updating to 'nodejs24.x'",
        "ParentId": null,
        "Rule": {
            "Description": "Check if an EOL Lambda Runtime is specified and you cannot update the function",
            "Id": "E2533",
            "ShortDescription": "Check if Lambda Function Runtimes are updatable",
            "Source": "https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html"
        }
    },
    {
        "Filename": "test/fixtures/templates/quickstart/nist_config_rules.yaml",
        "Id": "a2072bb1-9b4b-07fd-46a0-0dc43e7e286b",
        "Level": "Error",
        "Location": {
            "End": {
                "ColumnNumber": 14,
                "LineNumber": 160
            },
            "Path": [
                "Resources",
                "rCloudTrailValidationFunction",
                "Properties",
                "Timeout"
            ],
            "Start": {
                "ColumnNumber": 7,
                "LineNumber": 160
            }
        },
        "Message": "'30' is not of type 'integer'",
        "ParentId": null,
        "Rule": {
            "Description": "Checks resource property values with Primitive Types for values that match those types.",
            "Id": "E3012",
            "ShortDescription": "Check resource properties values",
            "Source": "https://github.com/aws-cloudformation/cfn-lint/blob/main/docs/cfn-schema-specification.md#type"
        }
    }
]
