File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,10 @@ mkdir results_html_web
1515cp /tmp/it.netauto.firewall-audit-results/audit_settings.yaml ./
1616
1717# Install audit tool
18- echo " [INFO] Installing sophos_firewall_audit..."
19- gh release download v1.0.14 --repo github.com/sophos/sophos-firewall-audit
20- pip install sophos_firewall_audit-1.0.14-py3-none-any.whl
18+ LATEST_TAG=$( gh release list --repo github.com/sophos/sophos-firewall-audit --limit 1 --json tagName | jq -r ' .[0].tagName' 2> /dev/null)
19+ echo " [INFO] Installing sophos_firewall_audit version $LATEST_TAG ..."
20+ gh release download $LATEST_TAG --repo github.com/sophos/sophos-firewall-audit
21+ pip install sophos_firewall_audit-$LATEST_TAG -py3-none-any.whl
2122
2223# Run audit
2324echo " [INFO] Running audit tool..."
You can’t perform that action at this time.
0 commit comments