API de sécurité pour l'analyse de code source et domaines web.
/api/v1/health
Vérifier l'état de l'API
/api/v1/register
Créer une nouvelle clé API
curl -X POST https://api.web-sentinel.taaazzz-prog.fr/api/v1/register \
-H 'Content-Type: application/json' \
-d '{"name": "Mon Équipe", "email": "dev@exemple.com"}'
/api/v1/scan-source
Scanner du code source
curl -X POST https://api.web-sentinel.taaazzz-prog.fr/api/v1/scan-source \
-H 'Content-Type: application/json' \
-d '{
"api_key": "ws_votre_cle",
"source_content": "",
"file_path": "exemple.php",
"language": "php"
}'
/api/v1/scan-domain
Scanner un domaine web
curl -X POST https://api.web-sentinel.taaazzz-prog.fr/api/v1/scan-domain \
-H 'Content-Type: application/json' \
-d '{
"api_key": "ws_votre_cle",
"domain": "example.com",
"options": {"modules": ["headers", "tls"]}
}'
pip install web-sentinel-clientcurl -sSL https://install.web-sentinel.taaazzz-prog.fr/install-web-sentinel.sh | bashhttps://api.web-sentinel.taaazzz-prog.fr