<commit_before>{
    "name": "Integration tests",
    "description": {
        "author": "<NAME>",
        "email": "<EMAIL>",
        "revision": 201409031000
    },
    "target": "queueloc like 'linux.%'",
    "threat": {
        "level": "-",
        "family": "test"
    },
    "operations": [
        {
            "module": "file",
            "parameters": {
                "searches": {
                    "sshnotmatch": {
                        "paths": [
                            "/home/*/.ssh/*"
                        ],
                        "regexes": [
                            "should not match"
                        ]
                    },
                    "yumshouldmatch": {
                        "paths": [
                            "/etc/*yum*/*.repo"
                        ],
                        "regexes": [
                            "^gpgcheck=1$"
                        ]
                    },
                    "etcshouldmatch": {
                        "paths": [
                            "/etc/"
                        ],
                        "regexes": [
                            "^jvehent:"
                        ]
                    },
                    "shadownotmatch": {
                        "paths": [
                            "/etc/shadow"
                        ],
                        "regexes": [
                            "^shouldnotmatch$"
                        ],
                        "filenames": [
                            "^bob$"
                        ]
                    },
                    "shadowmatch": {
                        "paths": [
                            "/etc/shadow"
                        ],
                        "regexes": [
                            "^root:"
                        ],
                        "filenames": [
                            "^shadow$"
                        ]
                    }
                }
            }
        },
        {
            "module": "netstat",
            "parameters": {
                "connectedip": [
                    "0.0.0.0/0"
                ],
                "listeningport": [
                    "22"
                ],
                "localip": [
                    "0.0.0.0/0"
                ],
                "localmac": [
                    "^[0-9a-f]"
                ],
                "neighborip": [
                    "0.0.0.0/0"
                ],
                "neighbormac": [
                    "^[0-9a-f]"
                ]
            }
        },
        {
            "module": "ping",
            "parameters": {
                "destination": "localhost",
                "protocol": "icmp",
                "count": 5
            }
        }
    ],
    "syntaxversion": 2
}<commit_msg>[doc] add ping and timedrift to integration test action<commit_after>{
    "name": "Integration tests",
    "description": {
        "author": "<NAME>",
        "email": "<EMAIL>",
        "revision": 201409031000
    },
    "target": "tags#>>'{operator}'='opsec'",
    "threat": {
        "level": "-",
        "family": "test"
    },
    "operations": [
        {
            "module": "file",
            "parameters": {
                "searches": {
                    "sshnotmatch": {
                        "paths": [
                            "/home/*/.ssh/*"
                        ],
                        "regexes": [
                            "should not match"
                        ]
                    },
                    "yumshouldmatch": {
                        "paths": [
                            "/etc/*yum*/*.repo"
                        ],
                        "regexes": [
                            "^gpgcheck=1$"
                        ]
                    },
                    "etcshouldmatch": {
                        "paths": [
                            "/etc/"
                        ],
                        "regexes": [
                            "^jvehent:"
                        ]
                    },
                    "shadownotmatch": {
                        "paths": [
                            "/etc/shadow"
                        ],
                        "regexes": [
                            "^shouldnotmatch$"
                        ],
                        "filenames": [
                            "^bob$"
                        ]
                    },
                    "shadowmatch": {
                        "paths": [
                            "/etc/shadow"
                        ],
                        "regexes": [
                            "^root:"
                        ],
                        "filenames": [
                            "^shadow$"
                        ]
                    }
                }
            }
        },
        {
            "module": "netstat",
            "parameters": {
                "connectedip": [
                    "0.0.0.0/0"
                ],
                "listeningport": [
                    "22"
                ],
                "localip": [
                    "0.0.0.0/0"
                ],
                "localmac": [
                    "^[0-9a-f]"
                ],
                "neighborip": [
                    "0.0.0.0/0"
                ],
                "neighbormac": [
                    "^[0-9a-f]"
                ]
            }
        },
        {
          "module": "ping",
          "parameters": {
            "count": 5,
            "destination": "google.com",
            "destinationport": 80,
            "protocol": "tcp",
            "timeout": 5
          }
        },
        {
          "module": "timedrift",
          "parameters": {
            "drift": "60s"
          }
        }
    ],
    "syntaxversion": 2
}
{'fraction_non_alphanumeric': 0.12729748127978216, 'fraction_numerical': 0.013104152484683457, 'mean_word_length': 0.5, 'pattern_counts': {'":': 93, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7365966', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1317, 'n_words': 177}