Actualiser scripts/OPNSense/pyfrc2g.py

This commit is contained in:
2025-11-22 13:56:58 +01:00
parent bb6ddf2212
commit 5d7a8b5ace

View File

@@ -18,7 +18,7 @@ logging.basicConfig(level=logging.INFO)
OPNS_URL = "https://<OPNS_ADDRESS/api/firewall/filter/search_rule"
OPNS_SECRET = "<API_SECRET>"
OPNS_KEY = "<API_KEY>"
PASSERELLE = "GW_NAME"
PASSERELLE = "<GW_NAME>"
FICHIER_CSV = "output_"+PASSERELLE+".csv"
GRAPH_OUTPUT_DIR = "tmp/graphs_"+PASSERELLE
# Déclaration des interfaces présentes sur OPNSense