feat: add new nosec flags for fix ci
Some checks failed
build / build (push) Failing after 1m38s

This commit is contained in:
d3m0k1d
2026-02-19 11:09:59 +03:00
parent f628e24f58
commit 7918b3efe6
2 changed files with 3 additions and 2 deletions

View File

@@ -45,6 +45,7 @@ func (f *Firewalld) Unban(ip string) error {
if err != nil {
return err
}
// #nosec G204 - ip is validated
cmd := exec.Command("firewall-cmd", "--zone=drop", "--remove-source", ip, "--permanent")
output, err := cmd.CombinedOutput()
if err != nil {