diff --git a/Nimbus/api/v1/securityintent_types.go b/Nimbus/api/v1/securityintent_types.go index 30cee56b..cbd58274 100644 --- a/Nimbus/api/v1/securityintent_types.go +++ b/Nimbus/api/v1/securityintent_types.go @@ -15,7 +15,7 @@ type SecurityIntentSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file - Intent Intent `json:"intent"` // Define the details of the security policy. + Intent Intent `json:"intent"` // Define the details of the security policy. } // Intent defines the security policy details @@ -37,6 +37,11 @@ type Resource struct { ToPorts []ToPort `json:"toPorts,omitempty"` } +// Network defines the network-related policies +type Network struct { + MatchProtocols []MatchProtocol `json:"matchProtocols,omitempty"` +} + // Process defines the process-related policies type Process struct { MatchPaths []MatchPath `json:"matchPaths,omitempty"`