sam fbde598be3 Add ingestion test and fix OAuth2 scopes and bootstrap logic
- Add tests/test_ingestion.py for end-to-end Diode pipeline verification
- Fix OAuth2 client scopes: reconciler uses diode:reconcile, netbox-to-diode
  needs diode:read diode:write netbox:read netbox:write
- Rewrite bootstrap-clients.sh with upsert behavior (delete+recreate) so
  scope and secret changes are applied on restart
- Rewrite nginx.conf in setup.sh to match upstream auth_request architecture
- Update .claude/settings.json with expanded tool permissions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 01:55:37 -07:00

29 lines
1.2 KiB
JSON

{
"permissions": {
"allow": [
"Bash(/home/user/netbox-diode-project/.venv/bin/python --version)",
"Bash(/home/user/netbox-diode-project/.venv/bin/pip --version)",
"Bash(git add .gitignore .claude/settings.json docker-compose.yml init-hydra-db.sh nginx/nginx.conf oauth2/client/bootstrap-clients.sh setup.sh)",
"Bash(git commit:*)",
"Bash(git config user.name \"sam\")",
"Bash(git config user.email \"info@apodacalab.com\")",
"Bash(git push origin main)",
"Bash(docker compose down)",
"Bash(docker compose up -d)",
"Bash(docker ps --filter \"name=netbox-diode-project\" --format \"table {{.Names}}\\\\t{{.Status}}\")",
"WebFetch(domain:github.com)",
"WebFetch(domain:pypi.org)",
"WebFetch(domain:docs.netboxlabs.com)",
"WebFetch(domain:netboxlabs.com)",
"WebFetch(domain:gist.github.com)",
"WebFetch(domain:raw.githubusercontent.com)",
"WebFetch(domain:virtualwires.wordpress.com)",
"WebFetch(domain:python-ipmi.readthedocs.io)",
"WebFetch(domain:proxmoxer.github.io)",
"WebFetch(domain:docs.openstack.org)",
"WebFetch(domain:deepwiki.com)",
"WebFetch(domain:docs.ansible.com)"
]
}
}