def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("/awk"),
                    event.deep_get("Image", default="").endswith("/gawk"),
                    event.deep_get("Image", default="").endswith("/mawk"),
                    event.deep_get("Image", default="").endswith("/nawk"),
                ]
            ),
            "BEGIN {system" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "/bin/bash" in event.deep_get("CommandLine", default=""),
                    "/bin/dash" in event.deep_get("CommandLine", default=""),
                    "/bin/fish" in event.deep_get("CommandLine", default=""),
                    "/bin/sh" in event.deep_get("CommandLine", default=""),
                    "/bin/zsh" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
