This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
parseable: true | |
skip_list: | |
- skip_ansible_lint | |
- "403" | |
- "204" | |
- no-handler | |
- empty-string-compare | |
- var-naming | |
- name[casing] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sqlite3 | |
from datetime import datetime, date | |
from typing import Tuple, Dict, List | |
import getpass | |
from mattermostdriver import Driver | |
import pathlib | |
import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"endpoint": "http://172.18.10.60/alerta/api"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Requires the following log format in nginx: | |
# log_format tls_log '$ssl_protocol $ssl_cipher $http_host $request'; | |
LOG=/var/log/nginx/tls.log | |
echo -e "TLS Protocol Usage" | |
awk '{print $1}' "$LOG" | sort | uniq -c | sort -rn | |
echo -e "\nHTTP Protocol Usage" | |
awk '{print $6}' "$LOG" | sort | uniq -c | sort -rn |