This commit is contained in:
asteam committed 2025-11-14 17:59:31 +03:00
1 parent 18a4311b97
commit e3a65c0f33
151 files changed
+10721 -28

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
package defsecpolicies
// IDs gets array of IDs from SecurityPoliciesList struct
func (spl SecurityPoliciesList) IDs() []string {
res := make([]string, 0, len(spl.Policies))
for _, c := range spl.Policies {
res = append(res, c.ID)
}
return res
}