/
githubmirror
/
trivy
Обзор
Документация
Войти
/
githubmirror
/
trivy
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pkg/iac/providers/openstack/openstack.go
34 строки
651 B
simar7
refactor(deps): Merge defsec into trivy (#6109)
16 фев 2024, 11:31
Не верифицирован
16 фев 2024, 11:31
14adbb4
Код
Авторство
О чём код?
package openstack import ( iacTypes "github.com/aquasecurity/trivy/pkg/iac/types" ) type OpenStack struct { Compute Compute Networking Networking } type Compute struct { Instances []Instance Firewall Firewall } type Firewall struct { AllowRules []FirewallRule DenyRules []FirewallRule } type FirewallRule struct { Metadata iacTypes.Metadata Source iacTypes.StringValue Destination iacTypes.StringValue SourcePort iacTypes.StringValue DestinationPort iacTypes.StringValue Enabled iacTypes.BoolValue } type Instance struct { Metadata iacTypes.Metadata AdminPassword iacTypes.StringValue }