def suppress_cloudformation_action()

in source/lib/blueprints/byom/pipeline_definitions/helpers.py [0:0]


def suppress_cloudformation_action():
    return {
        "cfn_nag": {
            "rules_to_suppress": [
                {
                    "id": "F4",
                    "reason": (
                        "The cloudformation action is granted PassRole action with * resources to deploy "
                        "different resources by different MLOps pipelines."
                    ),
                },
                {
                    "id": "F39",
                    "reason": (
                        "The cloudformation action is granted admin permissions to deploy different resources by "
                        "different MLOps pipelines. Roles are defined by the pipelines' cloudformation templates."
                    ),
                },
                {
                    "id": "W12",
                    "reason": (
                        "This cloudformation action's deployement roel needs * resource to deploy different resources"
                        " by MLOps pipelines. Specific resources are declared in the roles defined by each pipeline."
                    ),
                },
            ]
        }
    }