mirror of
https://github.com/mukul975/Anthropic-Cybersecurity-Skills.git
synced 2026-07-11 10:03:42 +03:00
c21af3347e
- Add scripts/agent.py and references/api-reference.md to all remaining skills - Update all 648 LICENSE files: copyright now reads 'Mahipal' - Add implementing-security-monitoring-with-datadog (new skill with full anatomy) - All 649 skills now have: SKILL.md, LICENSE, scripts/agent.py, references/api-reference.md
907 B
907 B
API Reference — Performing DMARC Policy Enforcement Rollout
Libraries Used
- dnspython (dns.resolver): DNS TXT record queries for DMARC, SPF, DKIM
CLI Interface
python agent.py check --domain example.com
python agent.py audit --domains example.com example.org [--selectors default google k1]
Core Functions
check_dmarc(domain) — Query _dmarc.<domain> TXT
check_spf(domain) — Query domain TXT for v=spf1
check_dkim(domain, selector) — Query <selector>._domainkey.<domain>
audit_domains(domains, selectors) — Full DMARC/SPF/DKIM audit with scoring
DMARC Policy Levels
| Policy | Enforcement | Score |
|---|---|---|
none |
No enforcement (monitoring only) | 0 |
quarantine |
Suspicious mail sent to spam | +20 |
reject |
Unauthorized mail rejected | +40 |
Dependencies
pip install dnspython>=2.4