42 lines
2.4 KiB
JSON
42 lines
2.4 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(ls -la /home/iroddis/dev/sovereign/.*)",
|
|
"Bash(ls -la /home/iroddis/dev/sovereign/roles/*/templates/)",
|
|
"Bash(pip list:*)",
|
|
"Bash(for role:*)",
|
|
"Bash(do echo:*)",
|
|
"Read(//home/iroddis/dev/sovereign/roles/$role/**)",
|
|
"Bash(done)",
|
|
"Bash(pip3 list:*)",
|
|
"Bash(pip3 show:*)",
|
|
"Bash(find /home/iroddis/dev/sovereign -type f \\\\\\(-name *.py -o -name requirements*.txt -o -name tox.ini -o -name setup.py -o -name setup.cfg -o -name pyproject.toml \\\\\\))",
|
|
"Bash(grep -v \"^\\\\.$\")",
|
|
"Bash(grep -v \"^\\\\..$\")",
|
|
"WebSearch",
|
|
"Bash(find /home/iroddis/dev/sovereign -type f ! -path */.git/* -o -type d ! -path */.git/*)",
|
|
"Bash(grep -l \"molecule_test_mode\" /home/iroddis/dev/sovereign/roles/*/tasks/main.yml)",
|
|
"Bash(grep -l \"molecule_test_mode\" /home/iroddis/dev/sovereign/roles/*/handlers/main.yml)",
|
|
"Bash(ls /home/iroddis/dev/sovereign/roles/*/molecule/default/)",
|
|
"Bash(grep -v \"^$\")",
|
|
"Bash(helm template:*)",
|
|
"Bash(brew list:*)",
|
|
"Bash(export PATH=\"/opt/homebrew/bin:$PATH\")",
|
|
"Bash(ansible-playbook:*)",
|
|
"Bash(just test:*)",
|
|
"Bash(pip show:*)",
|
|
"Bash(molecule test:*)",
|
|
"Bash(python3 -m molecule test -s default)",
|
|
"Bash(ansible-lint roles/dns/)",
|
|
"Bash(ansible-lint roles/graylog/)",
|
|
"Bash(ansible-lint .)",
|
|
"Bash(grep -v \"^WARNING\\\\|^$\\\\|^A new\\\\|^Upgrade\\\\|^Read\")",
|
|
"Bash(python3 configure.py --stdout)",
|
|
"Bash(grep -E \"^\\(---$|base_domain:|traefik_domain:|graylog_root_password_sha2:|dns_server_ip:|dmarc_policy:|forgejo_ssh_port:|stalwart_dkim_selector:\\)\")",
|
|
"Bash(python3 -c \"import sys, yaml; data = yaml.safe_load\\(sys.stdin\\); print\\(f'Valid YAML: {len\\(data\\)} keys'\\); print\\('changeme keys:', [k for k,v in data.items\\(\\) if isinstance\\(v,str\\) and 'changeme' in v]\\)\")",
|
|
"Bash(python3 -c \"import sys, yaml; d = yaml.safe_load\\(sys.stdin\\); print\\('base_domain:', d['base_domain']\\); print\\('graylog_root_password_sha2 len:', len\\(d['graylog_root_password_sha2']\\)\\); print\\('authentik_secret_key len:', len\\(d['authentik_secret_key']\\)\\)\")",
|
|
"Bash(python3 -c \"import sys, yaml; d = yaml.safe_load\\(sys.stdin\\); print\\('base_domain type:', type\\(d['base_domain']\\).__name__, '=', repr\\(d['base_domain']\\)\\); print\\('All 93 keys present:', len\\(d\\) == 93\\)\")"
|
|
]
|
|
}
|
|
}
|