Docker's Remote API can be secured via TLS and client certificate verification.
First of all you need a few certificates and keys:
- CA certificate
- Server certificate
- Server key
- Client certificate
- Client key
mappings: | |
- match: "airflow.dag_processing.last_duration.*" | |
help: "Milliseconds taken to load the given DAG file" | |
observer_type: summary | |
name: "airflow_dag_processing_last_duration" | |
labels: | |
dag_file: "$1" | |
- match: "airflow.dagrun.duration.*.*" | |
help: "Milliseconds taken for a DagRun to reach 'type' state" | |
observer_type: summary |
################################################### | |
## | |
## Alertmanager YAML configuration for routing. | |
## | |
## Will route alerts with a code_owner label to the slack-code-owners receiver | |
## configured above, but will continue processing them to send to both a | |
## central Slack channel (slack-monitoring) and PagerDuty receivers | |
## (pd-warning and pd-critical) | |
## |
bonus tip: for more darkness > https://darkreader.org/
# List all keys | |
ansible -m setup hostname | sed '1 s/^.*$/{/' | jq '.ansible_facts | keys' | |
# Get the contents of a specific key | |
ansible -m setup hostname | sed '1 s/^.*$/{/' | jq '.ansible_facts.ansible_default_ipv4' |
##TCP FLAGS## | |
Unskilled Attackers Pester Real Security Folks | |
============================================== | |
TCPDUMP FLAGS | |
Unskilled = URG = (Not Displayed in Flag Field, Displayed elsewhere) | |
Attackers = ACK = (Not Displayed in Flag Field, Displayed elsewhere) | |
Pester = PSH = [P] (Push Data) | |
Real = RST = [R] (Reset Connection) | |
Security = SYN = [S] (Start Connection) |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |