araali_api_service

package
v0.0.0-...-4fecb06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LinkState_name = map[int32]string{
		0: "BASELINE_ALERT",
		1: "DEFINED_POLICY",
		2: "SNOOZED_POLICY",
		3: "DENIED_POLICY",
	}
	LinkState_value = map[string]int32{
		"BASELINE_ALERT": 0,
		"DEFINED_POLICY": 1,
		"SNOOZED_POLICY": 2,
		"DENIED_POLICY":  3,
	}
)

Enum value maps for LinkState.

View Source
var (
	FortifyYamlType_name = map[int32]string{
		0: "UNKNOWN",
		1: "HELM_VALUES_FILE",
		2: "HELM_CONTROLLER_VALUES_FILE",
	}
	FortifyYamlType_value = map[string]int32{
		"UNKNOWN":                     0,
		"HELM_VALUES_FILE":            1,
		"HELM_CONTROLLER_VALUES_FILE": 2,
	}
)

Enum value maps for FortifyYamlType.

View Source
var (
	AraaliUser_Role_name = map[int32]string{
		0: "ADMIN",
		1: "USER",
	}
	AraaliUser_Role_value = map[string]int32{
		"ADMIN": 0,
		"USER":  1,
	}
)

Enum value maps for AraaliUser_Role.

View Source
var (
	AraaliAPIResponse_ReturnCode_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILURE",
		2: "UNKNOWN",
	}
	AraaliAPIResponse_ReturnCode_value = map[string]int32{
		"SUCCESS": 0,
		"FAILURE": 1,
		"UNKNOWN": 2,
	}
)

Enum value maps for AraaliAPIResponse_ReturnCode.

View Source
var (
	Asset_AssetState_name = map[int32]string{
		0: "DELETED",
		1: "ACTIVE",
		2: "INACTIVE",
	}
	Asset_AssetState_value = map[string]int32{
		"DELETED":  0,
		"ACTIVE":   1,
		"INACTIVE": 2,
	}
)

Enum value maps for Asset_AssetState.

View Source
var (
	Asset_AssetType_name = map[int32]string{
		0: "UNKNOWN_ASSET",
		1: "VIRTUAL_MACHINE",
		2: "CONTAINER",
	}
	Asset_AssetType_value = map[string]int32{
		"UNKNOWN_ASSET":   0,
		"VIRTUAL_MACHINE": 1,
		"CONTAINER":       2,
	}
)

Enum value maps for Asset_AssetType.

View Source
var (
	Asset_AssetMode_name = map[int32]string{
		0: "TAP",
		1: "INLINE",
		2: "TRANSITIONING_TAP_TO_INLINE",
		3: "TRANSITIONING_INLINE_TO_TAP",
	}
	Asset_AssetMode_value = map[string]int32{
		"TAP":                         0,
		"INLINE":                      1,
		"TRANSITIONING_TAP_TO_INLINE": 2,
		"TRANSITIONING_INLINE_TO_TAP": 3,
	}
)

Enum value maps for Asset_AssetMode.

View Source
var (
	Vulnerability_Severity_name = map[int32]string{
		0: "NONE",
		1: "LOW",
		2: "MEDIUM",
		3: "HIGH",
		4: "CRITICAL",
	}
	Vulnerability_Severity_value = map[string]int32{
		"NONE":     0,
		"LOW":      1,
		"MEDIUM":   2,
		"HIGH":     3,
		"CRITICAL": 4,
	}
)

Enum value maps for Vulnerability_Severity.

View Source
var (
	NonAraaliEndpoint_EndpointGroup_name = map[int32]string{
		0: "UNKNOWN_GROUP",
		1: "WORLD",
		2: "HOME",
	}
	NonAraaliEndpoint_EndpointGroup_value = map[string]int32{
		"UNKNOWN_GROUP": 0,
		"WORLD":         1,
		"HOME":          2,
	}
)

Enum value maps for NonAraaliEndpoint_EndpointGroup.

View Source
var (
	AlertInfo_Status_name = map[int32]string{
		0: "UNKNOWN_STATUS",
		1: "OPEN",
		2: "CLOSED",
	}
	AlertInfo_Status_value = map[string]int32{
		"UNKNOWN_STATUS": 0,
		"OPEN":           1,
		"CLOSED":         2,
	}
)

Enum value maps for AlertInfo_Status.

View Source
var (
	Link_LinkDirection_name = map[int32]string{
		0: "UNKNOWN_DIRECTION",
		1: "NON_ARAALI_INGRESS",
		2: "ARAALI_INGRESS",
		3: "NON_ARAALI_EGRESS",
		4: "ARAALI_EGRESS",
		5: "INTERNAL",
	}
	Link_LinkDirection_value = map[string]int32{
		"UNKNOWN_DIRECTION":  0,
		"NON_ARAALI_INGRESS": 1,
		"ARAALI_INGRESS":     2,
		"NON_ARAALI_EGRESS":  3,
		"ARAALI_EGRESS":      4,
		"INTERNAL":           5,
	}
)

Enum value maps for Link_LinkDirection.

View Source
var (
	Lens_LensType_name = map[int32]string{
		0: "UNKNOWN_LENS",
		1: "ZONE_APP",
		2: "SERVICE",
		3: "ZONE",
		4: "PROCESS",
		5: "CONTAINER",
		6: "TENANT",
	}
	Lens_LensType_value = map[string]int32{
		"UNKNOWN_LENS": 0,
		"ZONE_APP":     1,
		"SERVICE":      2,
		"ZONE":         3,
		"PROCESS":      4,
		"CONTAINER":    5,
		"TENANT":       6,
	}
)

Enum value maps for Lens_LensType.

View Source
var File_araali_api_service_proto protoreflect.FileDescriptor

Functions

func RegisterAraaliAPIServer

func RegisterAraaliAPIServer(s *grpc.Server, srv AraaliAPIServer)

Types

type AddUserRequest

type AddUserRequest struct {

	//* Tenant of the user being added
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Information required to create the tenant
	User *AraaliUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserRequest) Descriptor deprecated

func (*AddUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserRequest.ProtoReflect.Descriptor instead.

func (*AddUserRequest) GetTenant

func (x *AddUserRequest) GetTenant() *Tenant

func (*AddUserRequest) GetUser

func (x *AddUserRequest) GetUser() *AraaliUser

func (*AddUserRequest) ProtoMessage

func (*AddUserRequest) ProtoMessage()

func (*AddUserRequest) ProtoReflect

func (x *AddUserRequest) ProtoReflect() protoreflect.Message

func (*AddUserRequest) Reset

func (x *AddUserRequest) Reset()

func (*AddUserRequest) String

func (x *AddUserRequest) String() string

type AlertFilter

type AlertFilter struct {

	//* Fetch open alerts
	OpenAlerts bool `protobuf:"varint,1,opt,name=open_alerts,json=openAlerts,proto3" json:"open_alerts,omitempty"`
	//* Fetch closed alerts
	ClosedAlerts bool `protobuf:"varint,2,opt,name=closed_alerts,json=closedAlerts,proto3" json:"closed_alerts,omitempty"`
	//* Fetch perimeter egress alerts
	PerimeterEgress bool `protobuf:"varint,3,opt,name=perimeter_egress,json=perimeterEgress,proto3" json:"perimeter_egress,omitempty"`
	//* Fetch perimeter ingress alerts
	PerimeterIngress bool `protobuf:"varint,4,opt,name=perimeter_ingress,json=perimeterIngress,proto3" json:"perimeter_ingress,omitempty"`
	//* Fetch non araali egress alerts from private subnets
	HomeNonAraaliEgress bool `protobuf:"varint,5,opt,name=home_non_araali_egress,json=homeNonAraaliEgress,proto3" json:"home_non_araali_egress,omitempty"`
	//* Fetch non araali ingress alerts from private subnets
	HomeNonAraaliIngress bool `` /* 126-byte string literal not displayed */
	//* Fetch araali to araali alerts
	AraaliToAraali bool `protobuf:"varint,7,opt,name=araali_to_araali,json=araaliToAraali,proto3" json:"araali_to_araali,omitempty"`
	//* Fetch all alerts from all lenses, even ones not monitored by current user
	ListAllAlerts bool `protobuf:"varint,8,opt,name=list_all_alerts,json=listAllAlerts,proto3" json:"list_all_alerts,omitempty"`
	//* Time range in which to fetch alerts
	Time *TimeSlice `protobuf:"bytes,9,opt,name=time,proto3" json:"time,omitempty"`
	//* Fetch alerts for given zone
	Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

* Fields to filter alerts in the ListAlerts API.

func (*AlertFilter) Descriptor deprecated

func (*AlertFilter) Descriptor() ([]byte, []int)

Deprecated: Use AlertFilter.ProtoReflect.Descriptor instead.

func (*AlertFilter) GetAraaliToAraali

func (x *AlertFilter) GetAraaliToAraali() bool

func (*AlertFilter) GetClosedAlerts

func (x *AlertFilter) GetClosedAlerts() bool

func (*AlertFilter) GetHomeNonAraaliEgress

func (x *AlertFilter) GetHomeNonAraaliEgress() bool

func (*AlertFilter) GetHomeNonAraaliIngress

func (x *AlertFilter) GetHomeNonAraaliIngress() bool

func (*AlertFilter) GetListAllAlerts

func (x *AlertFilter) GetListAllAlerts() bool

func (*AlertFilter) GetOpenAlerts

func (x *AlertFilter) GetOpenAlerts() bool

func (*AlertFilter) GetPerimeterEgress

func (x *AlertFilter) GetPerimeterEgress() bool

func (*AlertFilter) GetPerimeterIngress

func (x *AlertFilter) GetPerimeterIngress() bool

func (*AlertFilter) GetTime

func (x *AlertFilter) GetTime() *TimeSlice

func (*AlertFilter) GetZone

func (x *AlertFilter) GetZone() string

func (*AlertFilter) ProtoMessage

func (*AlertFilter) ProtoMessage()

func (*AlertFilter) ProtoReflect

func (x *AlertFilter) ProtoReflect() protoreflect.Message

func (*AlertFilter) Reset

func (x *AlertFilter) Reset()

func (*AlertFilter) String

func (x *AlertFilter) String() string

type AlertInfo

type AlertInfo struct {

	//* Alert type
	CommunicationAlertType string `` /* 129-byte string literal not displayed */
	//* Process alert type
	ProcessAlertType string `protobuf:"bytes,2,opt,name=process_alert_type,json=processAlertType,proto3" json:"process_alert_type,omitempty"`
	//* Number of times transitioned from SNOOZED -> ALERT
	ReOpenCount uint32 `protobuf:"varint,3,opt,name=re_open_count,json=reOpenCount,proto3" json:"re_open_count,omitempty"`
	//* Whether OPEN or CLOSED
	Status AlertInfo_Status `protobuf:"varint,4,opt,name=status,proto3,enum=araali_api_service.AlertInfo_Status" json:"status,omitempty"`
	// contains filtered or unexported fields
}

* Additional information about alerts

func (*AlertInfo) Descriptor deprecated

func (*AlertInfo) Descriptor() ([]byte, []int)

Deprecated: Use AlertInfo.ProtoReflect.Descriptor instead.

func (*AlertInfo) GetCommunicationAlertType

func (x *AlertInfo) GetCommunicationAlertType() string

func (*AlertInfo) GetProcessAlertType

func (x *AlertInfo) GetProcessAlertType() string

func (*AlertInfo) GetReOpenCount

func (x *AlertInfo) GetReOpenCount() uint32

func (*AlertInfo) GetStatus

func (x *AlertInfo) GetStatus() AlertInfo_Status

func (*AlertInfo) ProtoMessage

func (*AlertInfo) ProtoMessage()

func (*AlertInfo) ProtoReflect

func (x *AlertInfo) ProtoReflect() protoreflect.Message

func (*AlertInfo) Reset

func (x *AlertInfo) Reset()

func (*AlertInfo) String

func (x *AlertInfo) String() string

type AlertInfo_Status

type AlertInfo_Status int32
const (
	AlertInfo_UNKNOWN_STATUS AlertInfo_Status = 0
	AlertInfo_OPEN           AlertInfo_Status = 1
	AlertInfo_CLOSED         AlertInfo_Status = 2
)

func (AlertInfo_Status) Descriptor

func (AlertInfo_Status) Enum

func (AlertInfo_Status) EnumDescriptor deprecated

func (AlertInfo_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use AlertInfo_Status.Descriptor instead.

func (AlertInfo_Status) Number

func (AlertInfo_Status) String

func (x AlertInfo_Status) String() string

func (AlertInfo_Status) Type

type AraaliAPIClient

type AraaliAPIClient interface {
	// Add a tenant
	CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error)
	// Delete a tenant
	DeleteTenant(ctx context.Context, in *DeleteTenantRequest, opts ...grpc.CallOption) (*AraaliAPIResponse, error)
	// Add a user
	AddUser(ctx context.Context, in *AddUserRequest, opts ...grpc.CallOption) (*AraaliAPIResponse, error)
	// Delete a user
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*AraaliAPIResponse, error)
	// Get assets
	ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
	// Get alerts
	ListAlerts(ctx context.Context, in *ListAlertsRequest, opts ...grpc.CallOption) (*ListAlertsResponse, error)
	// Get links within a zone/app
	ListLinks(ctx context.Context, in *ListLinksRequest, opts ...grpc.CallOption) (*ListLinksResponse, error)
	// Get tenant wide insights
	ListInsights(ctx context.Context, in *ListInsightsRequest, opts ...grpc.CallOption) (*ListInsightsResponse, error)
	// Generate k8s workload/helm values (also registers workloadID)
	CreateFortifyYaml(ctx context.Context, in *CreateFortifyYamlRequest, opts ...grpc.CallOption) (*CreateFortifyYamlResponse, error)
	// List existing k8s workloads
	ListFortifyYaml(ctx context.Context, in *ListFortifyYamlRequest, opts ...grpc.CallOption) (*ListFortifyYamlResponse, error)
	// Delete existing k8s workload
	DeleteFortifyYaml(ctx context.Context, in *DeleteFortifyYamlRequest, opts ...grpc.CallOption) (*AraaliAPIResponse, error)
	// Download policy and enforcement knobs as code.
	ListPolicyAndEnforcementStatus(ctx context.Context, in *ListPolicyAndEnforcementStatusRequest, opts ...grpc.CallOption) (*ListPolicyAndEnforcementStatusResponse, error)
	// Get existing Araali firewall config
	GetFirewallConfig(ctx context.Context, in *GetFirewallConfigRequest, opts ...grpc.CallOption) (*FirewallConfigResponse, error)
	// Update existing Araali firewall config
	UpdateFirewallConfig(ctx context.Context, in *UpdateFirewallConfigRequest, opts ...grpc.CallOption) (*FirewallConfigResponse, error)
}

AraaliAPIClient is the client API for AraaliAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAraaliAPIClient

func NewAraaliAPIClient(cc grpc.ClientConnInterface) AraaliAPIClient

type AraaliAPIResponse

type AraaliAPIResponse struct {

	//* Success/Failure of API call
	Code AraaliAPIResponse_ReturnCode `protobuf:"varint,1,opt,name=code,proto3,enum=araali_api_service.AraaliAPIResponse_ReturnCode" json:"code,omitempty"`
	//* Custom message returned by the service if any
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

* Generic API response object.

func (*AraaliAPIResponse) Descriptor deprecated

func (*AraaliAPIResponse) Descriptor() ([]byte, []int)

Deprecated: Use AraaliAPIResponse.ProtoReflect.Descriptor instead.

func (*AraaliAPIResponse) GetCode

func (*AraaliAPIResponse) GetMessage

func (x *AraaliAPIResponse) GetMessage() string

func (*AraaliAPIResponse) ProtoMessage

func (*AraaliAPIResponse) ProtoMessage()

func (*AraaliAPIResponse) ProtoReflect

func (x *AraaliAPIResponse) ProtoReflect() protoreflect.Message

func (*AraaliAPIResponse) Reset

func (x *AraaliAPIResponse) Reset()

func (*AraaliAPIResponse) String

func (x *AraaliAPIResponse) String() string

type AraaliAPIResponse_ReturnCode

type AraaliAPIResponse_ReturnCode int32

* Return status codes for the Araali APIs

const (
	AraaliAPIResponse_SUCCESS AraaliAPIResponse_ReturnCode = 0 // API call succeeded
	AraaliAPIResponse_FAILURE AraaliAPIResponse_ReturnCode = 1 // API call failed
	AraaliAPIResponse_UNKNOWN AraaliAPIResponse_ReturnCode = 2 // Status unknown (Should never happen)
)

func (AraaliAPIResponse_ReturnCode) Descriptor

func (AraaliAPIResponse_ReturnCode) Enum

func (AraaliAPIResponse_ReturnCode) EnumDescriptor deprecated

func (AraaliAPIResponse_ReturnCode) EnumDescriptor() ([]byte, []int)

Deprecated: Use AraaliAPIResponse_ReturnCode.Descriptor instead.

func (AraaliAPIResponse_ReturnCode) Number

func (AraaliAPIResponse_ReturnCode) String

func (AraaliAPIResponse_ReturnCode) Type

type AraaliAPIServer

type AraaliAPIServer interface {
	// Add a tenant
	CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
	// Delete a tenant
	DeleteTenant(context.Context, *DeleteTenantRequest) (*AraaliAPIResponse, error)
	// Add a user
	AddUser(context.Context, *AddUserRequest) (*AraaliAPIResponse, error)
	// Delete a user
	DeleteUser(context.Context, *DeleteUserRequest) (*AraaliAPIResponse, error)
	// Get assets
	ListAssets(context.Context, *ListAssetsRequest) (*ListAssetsResponse, error)
	// Get alerts
	ListAlerts(context.Context, *ListAlertsRequest) (*ListAlertsResponse, error)
	// Get links within a zone/app
	ListLinks(context.Context, *ListLinksRequest) (*ListLinksResponse, error)
	// Get tenant wide insights
	ListInsights(context.Context, *ListInsightsRequest) (*ListInsightsResponse, error)
	// Generate k8s workload/helm values (also registers workloadID)
	CreateFortifyYaml(context.Context, *CreateFortifyYamlRequest) (*CreateFortifyYamlResponse, error)
	// List existing k8s workloads
	ListFortifyYaml(context.Context, *ListFortifyYamlRequest) (*ListFortifyYamlResponse, error)
	// Delete existing k8s workload
	DeleteFortifyYaml(context.Context, *DeleteFortifyYamlRequest) (*AraaliAPIResponse, error)
	// Download policy and enforcement knobs as code.
	ListPolicyAndEnforcementStatus(context.Context, *ListPolicyAndEnforcementStatusRequest) (*ListPolicyAndEnforcementStatusResponse, error)
	// Get existing Araali firewall config
	GetFirewallConfig(context.Context, *GetFirewallConfigRequest) (*FirewallConfigResponse, error)
	// Update existing Araali firewall config
	UpdateFirewallConfig(context.Context, *UpdateFirewallConfigRequest) (*FirewallConfigResponse, error)
}

AraaliAPIServer is the server API for AraaliAPI service.

type AraaliEndpoint

type AraaliEndpoint struct {

	//* Zone the endpoint belongs to
	Zone string `protobuf:"bytes,1,opt,name=zone,proto3" json:"zone,omitempty"`
	//* Mapped app the endpoint belongs to
	App string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`
	//* Original app/namespace the endpoint belongs to
	UnmappedApp string `protobuf:"bytes,3,opt,name=unmapped_app,json=unmappedApp,proto3" json:"unmapped_app,omitempty"`
	//* Namespace of the endpoint
	Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
	//* Pod the endpoint belongs to
	Pod string `protobuf:"bytes,5,opt,name=pod,proto3" json:"pod,omitempty"`
	//* Container the endpoint belongs to
	ContainerName string `protobuf:"bytes,6,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	//* Process of the endpoint belongs to
	Process string `protobuf:"bytes,7,opt,name=process,proto3" json:"process,omitempty"`
	//* Binary name of the endpoint process
	BinaryName string `protobuf:"bytes,8,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"`
	//* Parent of the endpoint process
	ParentProcess string `protobuf:"bytes,9,opt,name=parent_process,json=parentProcess,proto3" json:"parent_process,omitempty"`
	// contains filtered or unexported fields
}

Represents an araali endpoint

func (*AraaliEndpoint) Descriptor deprecated

func (*AraaliEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use AraaliEndpoint.ProtoReflect.Descriptor instead.

func (*AraaliEndpoint) GetApp

func (x *AraaliEndpoint) GetApp() string

func (*AraaliEndpoint) GetBinaryName

func (x *AraaliEndpoint) GetBinaryName() string

func (*AraaliEndpoint) GetContainerName

func (x *AraaliEndpoint) GetContainerName() string

func (*AraaliEndpoint) GetNamespace

func (x *AraaliEndpoint) GetNamespace() string

func (*AraaliEndpoint) GetParentProcess

func (x *AraaliEndpoint) GetParentProcess() string

func (*AraaliEndpoint) GetPod

func (x *AraaliEndpoint) GetPod() string

func (*AraaliEndpoint) GetProcess

func (x *AraaliEndpoint) GetProcess() string

func (*AraaliEndpoint) GetUnmappedApp

func (x *AraaliEndpoint) GetUnmappedApp() string

func (*AraaliEndpoint) GetZone

func (x *AraaliEndpoint) GetZone() string

func (*AraaliEndpoint) ProtoMessage

func (*AraaliEndpoint) ProtoMessage()

func (*AraaliEndpoint) ProtoReflect

func (x *AraaliEndpoint) ProtoReflect() protoreflect.Message

func (*AraaliEndpoint) Reset

func (x *AraaliEndpoint) Reset()

func (*AraaliEndpoint) String

func (x *AraaliEndpoint) String() string

type AraaliFwKnobs

type AraaliFwKnobs struct {
	Install                        bool `protobuf:"varint,1,opt,name=install,proto3" json:"install,omitempty"`
	EnableProcessVulnerabilities   bool `` /* 148-byte string literal not displayed */
	EnableContainerVulnerabilities bool `` /* 154-byte string literal not displayed */
	EnableFlowDedup                bool `protobuf:"varint,4,opt,name=enable_flow_dedup,json=enableFlowDedup,proto3" json:"enable_flow_dedup,omitempty"`
	EnableFlowRateLimit            bool `protobuf:"varint,5,opt,name=enable_flow_rate_limit,json=enableFlowRateLimit,proto3" json:"enable_flow_rate_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*AraaliFwKnobs) Descriptor deprecated

func (*AraaliFwKnobs) Descriptor() ([]byte, []int)

Deprecated: Use AraaliFwKnobs.ProtoReflect.Descriptor instead.

func (*AraaliFwKnobs) GetEnableContainerVulnerabilities

func (x *AraaliFwKnobs) GetEnableContainerVulnerabilities() bool

func (*AraaliFwKnobs) GetEnableFlowDedup

func (x *AraaliFwKnobs) GetEnableFlowDedup() bool

func (*AraaliFwKnobs) GetEnableFlowRateLimit

func (x *AraaliFwKnobs) GetEnableFlowRateLimit() bool

func (*AraaliFwKnobs) GetEnableProcessVulnerabilities

func (x *AraaliFwKnobs) GetEnableProcessVulnerabilities() bool

func (*AraaliFwKnobs) GetInstall

func (x *AraaliFwKnobs) GetInstall() bool

func (*AraaliFwKnobs) ProtoMessage

func (*AraaliFwKnobs) ProtoMessage()

func (*AraaliFwKnobs) ProtoReflect

func (x *AraaliFwKnobs) ProtoReflect() protoreflect.Message

func (*AraaliFwKnobs) Reset

func (x *AraaliFwKnobs) Reset()

func (*AraaliFwKnobs) String

func (x *AraaliFwKnobs) String() string

type AraaliUser

type AraaliUser struct {

	//* E-mail of the registering user
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	//* Role of the registering user
	Role AraaliUser_Role `protobuf:"varint,2,opt,name=role,proto3,enum=araali_api_service.AraaliUser_Role" json:"role,omitempty"`
	//* Enables role to have access to zone-apps
	// 		TRUE  - Enable modify access to zone-apps
	//		FALSE - Enable read-only access to zone-apps.
	IsSiteAdmin bool `protobuf:"varint,3,opt,name=is_site_admin,json=isSiteAdmin,proto3" json:"is_site_admin,omitempty"`
	// contains filtered or unexported fields
}

* User object identifying the user in API calls.

func (*AraaliUser) Descriptor deprecated

func (*AraaliUser) Descriptor() ([]byte, []int)

Deprecated: Use AraaliUser.ProtoReflect.Descriptor instead.

func (*AraaliUser) GetEmail

func (x *AraaliUser) GetEmail() string

func (*AraaliUser) GetIsSiteAdmin

func (x *AraaliUser) GetIsSiteAdmin() bool

func (*AraaliUser) GetRole

func (x *AraaliUser) GetRole() AraaliUser_Role

func (*AraaliUser) ProtoMessage

func (*AraaliUser) ProtoMessage()

func (*AraaliUser) ProtoReflect

func (x *AraaliUser) ProtoReflect() protoreflect.Message

func (*AraaliUser) Reset

func (x *AraaliUser) Reset()

func (*AraaliUser) String

func (x *AraaliUser) String() string

type AraaliUser_Role

type AraaliUser_Role int32

* Enum for specifying the role of a user

const (
	AraaliUser_ADMIN AraaliUser_Role = 0 // Enables user to create, modify other users
	AraaliUser_USER  AraaliUser_Role = 1 // Set if the user is not an administrator
)

func (AraaliUser_Role) Descriptor

func (AraaliUser_Role) Enum

func (x AraaliUser_Role) Enum() *AraaliUser_Role

func (AraaliUser_Role) EnumDescriptor deprecated

func (AraaliUser_Role) EnumDescriptor() ([]byte, []int)

Deprecated: Use AraaliUser_Role.Descriptor instead.

func (AraaliUser_Role) Number

func (AraaliUser_Role) String

func (x AraaliUser_Role) String() string

func (AraaliUser_Role) Type

type Asset

type Asset struct {

	//* Host name of asset
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	//* IP address assigned to the asset
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	//* UUID if virtual machine or container-id if container
	Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
	//* Container image or ami-id for virtual machines
	Image string `protobuf:"bytes,4,opt,name=image,proto3" json:"image,omitempty"`
	//* Zone the asset belongs to
	Zone string `protobuf:"bytes,5,opt,name=zone,proto3" json:"zone,omitempty"`
	//* Apps the asset belongs to
	Apps []string `protobuf:"bytes,6,rep,name=apps,proto3" json:"apps,omitempty"`
	//* State of the asset active, inactive etc
	State Asset_AssetState `protobuf:"varint,7,opt,name=state,proto3,enum=araali_api_service.Asset_AssetState" json:"state,omitempty"`
	//* Type of the asset
	AssetType Asset_AssetType `` /* 129-byte string literal not displayed */
	//* Vulnerabilities in the asset
	Vulnerabilities []*Vulnerability `protobuf:"bytes,9,rep,name=vulnerabilities,proto3" json:"vulnerabilities,omitempty"`
	//* Visibility/Enforcement mode of the asset
	Mode Asset_AssetMode `protobuf:"varint,10,opt,name=mode,proto3,enum=araali_api_service.Asset_AssetMode" json:"mode,omitempty"`
	//* OS name of the asset
	OsName string `protobuf:"bytes,11,opt,name=os_name,json=osName,proto3" json:"os_name,omitempty"`
	//* AWS IAM Role assigned to the asset
	IamRole string `protobuf:"bytes,12,opt,name=iam_role,json=iamRole,proto3" json:"iam_role,omitempty"`
	//* Docker privilege assigned to the container (Docker containers only)
	DockerPrivileged bool `protobuf:"varint,13,opt,name=docker_privileged,json=dockerPrivileged,proto3" json:"docker_privileged,omitempty"`
	//* Capabilities of the container (container only)
	// Types that are assignable to Capabilities:
	//	*Asset_Docker
	//	*Asset_Containerd
	Capabilities isAsset_Capabilities `protobuf_oneof:"capabilities"`
	// contains filtered or unexported fields
}

* Representation of container/virtual machine information.

func (*Asset) Descriptor deprecated

func (*Asset) Descriptor() ([]byte, []int)

Deprecated: Use Asset.ProtoReflect.Descriptor instead.

func (*Asset) GetApps

func (x *Asset) GetApps() []string

func (*Asset) GetAssetType

func (x *Asset) GetAssetType() Asset_AssetType

func (*Asset) GetCapabilities

func (m *Asset) GetCapabilities() isAsset_Capabilities

func (*Asset) GetContainerd

func (x *Asset) GetContainerd() *Capabilities

func (*Asset) GetDocker

func (x *Asset) GetDocker() *Capabilities

func (*Asset) GetDockerPrivileged

func (x *Asset) GetDockerPrivileged() bool

func (*Asset) GetHostName

func (x *Asset) GetHostName() string

func (*Asset) GetIamRole

func (x *Asset) GetIamRole() string

func (*Asset) GetImage

func (x *Asset) GetImage() string

func (*Asset) GetIpAddress

func (x *Asset) GetIpAddress() string

func (*Asset) GetMode

func (x *Asset) GetMode() Asset_AssetMode

func (*Asset) GetOsName

func (x *Asset) GetOsName() string

func (*Asset) GetState

func (x *Asset) GetState() Asset_AssetState

func (*Asset) GetUuid

func (x *Asset) GetUuid() string

func (*Asset) GetVulnerabilities

func (x *Asset) GetVulnerabilities() []*Vulnerability

func (*Asset) GetZone

func (x *Asset) GetZone() string

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) ProtoReflect

func (x *Asset) ProtoReflect() protoreflect.Message

func (*Asset) Reset

func (x *Asset) Reset()

func (*Asset) String

func (x *Asset) String() string

type AssetFilter

type AssetFilter struct {

	//* Return active virtual machines
	ListActiveVm bool `protobuf:"varint,1,opt,name=list_active_vm,json=listActiveVm,proto3" json:"list_active_vm,omitempty"`
	//* Return inactive virtual machines
	ListInactiveVm bool `protobuf:"varint,2,opt,name=list_inactive_vm,json=listInactiveVm,proto3" json:"list_inactive_vm,omitempty"`
	//* Return active containers
	ListActiveContainer bool `protobuf:"varint,3,opt,name=list_active_container,json=listActiveContainer,proto3" json:"list_active_container,omitempty"`
	//* Return inactive containers
	ListInactiveContainer bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

* Flags to filter assets in the ListAssets API.

func (*AssetFilter) Descriptor deprecated

func (*AssetFilter) Descriptor() ([]byte, []int)

Deprecated: Use AssetFilter.ProtoReflect.Descriptor instead.

func (*AssetFilter) GetListActiveContainer

func (x *AssetFilter) GetListActiveContainer() bool

func (*AssetFilter) GetListActiveVm

func (x *AssetFilter) GetListActiveVm() bool

func (*AssetFilter) GetListInactiveContainer

func (x *AssetFilter) GetListInactiveContainer() bool

func (*AssetFilter) GetListInactiveVm

func (x *AssetFilter) GetListInactiveVm() bool

func (*AssetFilter) ProtoMessage

func (*AssetFilter) ProtoMessage()

func (*AssetFilter) ProtoReflect

func (x *AssetFilter) ProtoReflect() protoreflect.Message

func (*AssetFilter) Reset

func (x *AssetFilter) Reset()

func (*AssetFilter) String

func (x *AssetFilter) String() string

type Asset_AssetMode

type Asset_AssetMode int32
  • Mode the asset is in TAP - Tap's into telemetry to discover policies (no enforcement). INLINE - Firewall embedded inline to enforce policies if needed (enforcement).
const (
	Asset_TAP                         Asset_AssetMode = 0 // No enforcement/visibility mode
	Asset_INLINE                      Asset_AssetMode = 1 // Inline enforcement mode
	Asset_TRANSITIONING_TAP_TO_INLINE Asset_AssetMode = 2 // Transitioning from TAP to INLINE
	Asset_TRANSITIONING_INLINE_TO_TAP Asset_AssetMode = 3 // Transitioning from INLINE to TAP
)

func (Asset_AssetMode) Descriptor

func (Asset_AssetMode) Enum

func (x Asset_AssetMode) Enum() *Asset_AssetMode

func (Asset_AssetMode) EnumDescriptor deprecated

func (Asset_AssetMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use Asset_AssetMode.Descriptor instead.

func (Asset_AssetMode) Number

func (Asset_AssetMode) String

func (x Asset_AssetMode) String() string

func (Asset_AssetMode) Type

type Asset_AssetState

type Asset_AssetState int32

* State of the asset

const (
	Asset_DELETED  Asset_AssetState = 0 // Asset has been deleted
	Asset_ACTIVE   Asset_AssetState = 1 // Asset is active
	Asset_INACTIVE Asset_AssetState = 2 // Asset is inactive
)

func (Asset_AssetState) Descriptor

func (Asset_AssetState) Enum

func (Asset_AssetState) EnumDescriptor deprecated

func (Asset_AssetState) EnumDescriptor() ([]byte, []int)

Deprecated: Use Asset_AssetState.Descriptor instead.

func (Asset_AssetState) Number

func (Asset_AssetState) String

func (x Asset_AssetState) String() string

func (Asset_AssetState) Type

type Asset_AssetType

type Asset_AssetType int32

* Type of the asset

const (
	Asset_UNKNOWN_ASSET   Asset_AssetType = 0 // Unknown asset type
	Asset_VIRTUAL_MACHINE Asset_AssetType = 1 // Virtual Machine type
	Asset_CONTAINER       Asset_AssetType = 2 // Container type
)

func (Asset_AssetType) Descriptor

func (Asset_AssetType) Enum

func (x Asset_AssetType) Enum() *Asset_AssetType

func (Asset_AssetType) EnumDescriptor deprecated

func (Asset_AssetType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Asset_AssetType.Descriptor instead.

func (Asset_AssetType) Number

func (Asset_AssetType) String

func (x Asset_AssetType) String() string

func (Asset_AssetType) Type

type Asset_Containerd

type Asset_Containerd struct {
	//* Capabilities exported by containerd
	Containerd *Capabilities `protobuf:"bytes,15,opt,name=containerd,proto3,oneof"`
}

type Asset_Docker

type Asset_Docker struct {
	//* Capabilities exported by docker
	Docker *Capabilities `protobuf:"bytes,14,opt,name=docker,proto3,oneof"`
}

type Capabilities

type Capabilities struct {
	Capabilities []string `protobuf:"bytes,1,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
	// contains filtered or unexported fields
}

* List of capabilities

func (*Capabilities) Descriptor deprecated

func (*Capabilities) Descriptor() ([]byte, []int)

Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.

func (*Capabilities) GetCapabilities

func (x *Capabilities) GetCapabilities() []string

func (*Capabilities) ProtoMessage

func (*Capabilities) ProtoMessage()

func (*Capabilities) ProtoReflect

func (x *Capabilities) ProtoReflect() protoreflect.Message

func (*Capabilities) Reset

func (x *Capabilities) Reset()

func (*Capabilities) String

func (x *Capabilities) String() string

type CreateFortifyYamlRequest

type CreateFortifyYamlRequest struct {

	//* Handle of tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Workload name - Unique name associated with workload. This is also the zone name - Cluster would show up on UI/Araali interfaces with this name
	WorkloadName string `protobuf:"bytes,2,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
	//* DNS of Fog that communicates with the cluster (Optional, take defaults if empty)
	Fog string `protobuf:"bytes,3,opt,name=fog,proto3" json:"fog,omitempty"`
	//* Disable upgrade (Optional - false by default)
	DisableUpgrade bool `protobuf:"varint,4,opt,name=disable_upgrade,json=disableUpgrade,proto3" json:"disable_upgrade,omitempty"`
	//* Disable enforcement (Optional - false by default)
	DisableEnforcement bool `protobuf:"varint,5,opt,name=disable_enforcement,json=disableEnforcement,proto3" json:"disable_enforcement,omitempty"`
	//* Type of yaml file to generate
	YamlType FortifyYamlType `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateFortifyYamlRequest) Descriptor deprecated

func (*CreateFortifyYamlRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFortifyYamlRequest.ProtoReflect.Descriptor instead.

func (*CreateFortifyYamlRequest) GetDisableEnforcement

func (x *CreateFortifyYamlRequest) GetDisableEnforcement() bool

func (*CreateFortifyYamlRequest) GetDisableUpgrade

func (x *CreateFortifyYamlRequest) GetDisableUpgrade() bool

func (*CreateFortifyYamlRequest) GetFog

func (x *CreateFortifyYamlRequest) GetFog() string

func (*CreateFortifyYamlRequest) GetTenant

func (x *CreateFortifyYamlRequest) GetTenant() *Tenant

func (*CreateFortifyYamlRequest) GetWorkloadName

func (x *CreateFortifyYamlRequest) GetWorkloadName() string

func (*CreateFortifyYamlRequest) GetYamlType

func (x *CreateFortifyYamlRequest) GetYamlType() FortifyYamlType

func (*CreateFortifyYamlRequest) ProtoMessage

func (*CreateFortifyYamlRequest) ProtoMessage()

func (*CreateFortifyYamlRequest) ProtoReflect

func (x *CreateFortifyYamlRequest) ProtoReflect() protoreflect.Message

func (*CreateFortifyYamlRequest) Reset

func (x *CreateFortifyYamlRequest) Reset()

func (*CreateFortifyYamlRequest) String

func (x *CreateFortifyYamlRequest) String() string

type CreateFortifyYamlResponse

type CreateFortifyYamlResponse struct {

	//* CreateFortifyYamlResponse API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* Yaml formatted string response
	WorkloadYaml string `protobuf:"bytes,2,opt,name=workload_yaml,json=workloadYaml,proto3" json:"workload_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateFortifyYamlResponse) Descriptor deprecated

func (*CreateFortifyYamlResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateFortifyYamlResponse.ProtoReflect.Descriptor instead.

func (*CreateFortifyYamlResponse) GetResponse

func (x *CreateFortifyYamlResponse) GetResponse() *AraaliAPIResponse

func (*CreateFortifyYamlResponse) GetWorkloadYaml

func (x *CreateFortifyYamlResponse) GetWorkloadYaml() string

func (*CreateFortifyYamlResponse) ProtoMessage

func (*CreateFortifyYamlResponse) ProtoMessage()

func (*CreateFortifyYamlResponse) ProtoReflect

func (*CreateFortifyYamlResponse) Reset

func (x *CreateFortifyYamlResponse) Reset()

func (*CreateFortifyYamlResponse) String

func (x *CreateFortifyYamlResponse) String() string

type CreateTenantRequest

type CreateTenantRequest struct {

	//* Information required to create the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRequest) Descriptor deprecated

func (*CreateTenantRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.

func (*CreateTenantRequest) GetTenant

func (x *CreateTenantRequest) GetTenant() *Tenant

func (*CreateTenantRequest) ProtoMessage

func (*CreateTenantRequest) ProtoMessage()

func (*CreateTenantRequest) ProtoReflect

func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message

func (*CreateTenantRequest) Reset

func (x *CreateTenantRequest) Reset()

func (*CreateTenantRequest) String

func (x *CreateTenantRequest) String() string

type CreateTenantResponse

type CreateTenantResponse struct {

	//* Success/Failure of the API call
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* Handle for the newly created tenant
	Tenant *Tenant `protobuf:"bytes,2,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantResponse) Descriptor deprecated

func (*CreateTenantResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.

func (*CreateTenantResponse) GetResponse

func (x *CreateTenantResponse) GetResponse() *AraaliAPIResponse

func (*CreateTenantResponse) GetTenant

func (x *CreateTenantResponse) GetTenant() *Tenant

func (*CreateTenantResponse) ProtoMessage

func (*CreateTenantResponse) ProtoMessage()

func (*CreateTenantResponse) ProtoReflect

func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message

func (*CreateTenantResponse) Reset

func (x *CreateTenantResponse) Reset()

func (*CreateTenantResponse) String

func (x *CreateTenantResponse) String() string

type DeleteFortifyYamlRequest

type DeleteFortifyYamlRequest struct {

	//* Handle of tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Unique ID associated with cluster
	WorkloadName string `protobuf:"bytes,2,opt,name=workload_name,json=workloadName,proto3" json:"workload_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteFortifyYamlRequest) Descriptor deprecated

func (*DeleteFortifyYamlRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFortifyYamlRequest.ProtoReflect.Descriptor instead.

func (*DeleteFortifyYamlRequest) GetTenant

func (x *DeleteFortifyYamlRequest) GetTenant() *Tenant

func (*DeleteFortifyYamlRequest) GetWorkloadName

func (x *DeleteFortifyYamlRequest) GetWorkloadName() string

func (*DeleteFortifyYamlRequest) ProtoMessage

func (*DeleteFortifyYamlRequest) ProtoMessage()

func (*DeleteFortifyYamlRequest) ProtoReflect

func (x *DeleteFortifyYamlRequest) ProtoReflect() protoreflect.Message

func (*DeleteFortifyYamlRequest) Reset

func (x *DeleteFortifyYamlRequest) Reset()

func (*DeleteFortifyYamlRequest) String

func (x *DeleteFortifyYamlRequest) String() string

type DeleteTenantRequest

type DeleteTenantRequest struct {

	//* Tenant being deleted
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTenantRequest) Descriptor deprecated

func (*DeleteTenantRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTenantRequest.ProtoReflect.Descriptor instead.

func (*DeleteTenantRequest) GetTenant

func (x *DeleteTenantRequest) GetTenant() *Tenant

func (*DeleteTenantRequest) ProtoMessage

func (*DeleteTenantRequest) ProtoMessage()

func (*DeleteTenantRequest) ProtoReflect

func (x *DeleteTenantRequest) ProtoReflect() protoreflect.Message

func (*DeleteTenantRequest) Reset

func (x *DeleteTenantRequest) Reset()

func (*DeleteTenantRequest) String

func (x *DeleteTenantRequest) String() string

type DeleteUserRequest

type DeleteUserRequest struct {

	//* Tenant of the user being deleted
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Handle of the user being deleted
	User *AraaliUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetTenant

func (x *DeleteUserRequest) GetTenant() *Tenant

func (*DeleteUserRequest) GetUser

func (x *DeleteUserRequest) GetUser() *AraaliUser

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type EndPoint

type EndPoint struct {

	// Types that are assignable to Info:
	//	*EndPoint_Araali
	//	*EndPoint_NonAraali
	Info isEndPoint_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

* Represents one end of a link/alert_counts

func (*EndPoint) Descriptor deprecated

func (*EndPoint) Descriptor() ([]byte, []int)

Deprecated: Use EndPoint.ProtoReflect.Descriptor instead.

func (*EndPoint) GetAraali

func (x *EndPoint) GetAraali() *AraaliEndpoint

func (*EndPoint) GetInfo

func (m *EndPoint) GetInfo() isEndPoint_Info

func (*EndPoint) GetNonAraali

func (x *EndPoint) GetNonAraali() *NonAraaliEndpoint

func (*EndPoint) ProtoMessage

func (*EndPoint) ProtoMessage()

func (*EndPoint) ProtoReflect

func (x *EndPoint) ProtoReflect() protoreflect.Message

func (*EndPoint) Reset

func (x *EndPoint) Reset()

func (*EndPoint) String

func (x *EndPoint) String() string

type EndPoint_Araali

type EndPoint_Araali struct {
	//* Araali endpoint info
	Araali *AraaliEndpoint `protobuf:"bytes,1,opt,name=araali,proto3,oneof"`
}

type EndPoint_NonAraali

type EndPoint_NonAraali struct {
	//* Non-Araali endpoint info
	NonAraali *NonAraaliEndpoint `protobuf:"bytes,2,opt,name=non_araali,json=nonAraali,proto3,oneof"`
}

type FirewallConfigResponse

type FirewallConfigResponse struct {
	TenantId string         `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Zone     string         `protobuf:"bytes,3,opt,name=zone,proto3" json:"zone,omitempty"`
	Knobs    *AraaliFwKnobs `protobuf:"bytes,4,opt,name=knobs,proto3" json:"knobs,omitempty"`
	// contains filtered or unexported fields
}

func (*FirewallConfigResponse) Descriptor deprecated

func (*FirewallConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use FirewallConfigResponse.ProtoReflect.Descriptor instead.

func (*FirewallConfigResponse) GetKnobs

func (x *FirewallConfigResponse) GetKnobs() *AraaliFwKnobs

func (*FirewallConfigResponse) GetTenantId

func (x *FirewallConfigResponse) GetTenantId() string

func (*FirewallConfigResponse) GetZone

func (x *FirewallConfigResponse) GetZone() string

func (*FirewallConfigResponse) ProtoMessage

func (*FirewallConfigResponse) ProtoMessage()

func (*FirewallConfigResponse) ProtoReflect

func (x *FirewallConfigResponse) ProtoReflect() protoreflect.Message

func (*FirewallConfigResponse) Reset

func (x *FirewallConfigResponse) Reset()

func (*FirewallConfigResponse) String

func (x *FirewallConfigResponse) String() string

type FortifyYamlType

type FortifyYamlType int32
const (
	FortifyYamlType_UNKNOWN                     FortifyYamlType = 0 // Unknown
	FortifyYamlType_HELM_VALUES_FILE            FortifyYamlType = 1 // Generate helm values file for helm chart based approach
	FortifyYamlType_HELM_CONTROLLER_VALUES_FILE FortifyYamlType = 2 // Generate controller helm values file for helm chart
)

func (FortifyYamlType) Descriptor

func (FortifyYamlType) Enum

func (x FortifyYamlType) Enum() *FortifyYamlType

func (FortifyYamlType) EnumDescriptor deprecated

func (FortifyYamlType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FortifyYamlType.Descriptor instead.

func (FortifyYamlType) Number

func (FortifyYamlType) String

func (x FortifyYamlType) String() string

func (FortifyYamlType) Type

type GetFirewallConfigRequest

type GetFirewallConfigRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Zone     string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFirewallConfigRequest) Descriptor deprecated

func (*GetFirewallConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFirewallConfigRequest.ProtoReflect.Descriptor instead.

func (*GetFirewallConfigRequest) GetTenantId

func (x *GetFirewallConfigRequest) GetTenantId() string

func (*GetFirewallConfigRequest) GetZone

func (x *GetFirewallConfigRequest) GetZone() string

func (*GetFirewallConfigRequest) ProtoMessage

func (*GetFirewallConfigRequest) ProtoMessage()

func (*GetFirewallConfigRequest) ProtoReflect

func (x *GetFirewallConfigRequest) ProtoReflect() protoreflect.Message

func (*GetFirewallConfigRequest) Reset

func (x *GetFirewallConfigRequest) Reset()

func (*GetFirewallConfigRequest) String

func (x *GetFirewallConfigRequest) String() string

type Insight

type Insight struct {

	//* The kind of insight captured
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	//* The URL to view the insights
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	//* Number of insights
	Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	//* The zone/app the insights belong to
	Lens []*Lens `protobuf:"bytes,4,rep,name=lens,proto3" json:"lens,omitempty"`
	// contains filtered or unexported fields
}

* Instance of the insight Representation

func (*Insight) Descriptor deprecated

func (*Insight) Descriptor() ([]byte, []int)

Deprecated: Use Insight.ProtoReflect.Descriptor instead.

func (*Insight) GetCount

func (x *Insight) GetCount() uint32

func (*Insight) GetLens

func (x *Insight) GetLens() []*Lens

func (*Insight) GetReason

func (x *Insight) GetReason() string

func (*Insight) GetUrl

func (x *Insight) GetUrl() string

func (*Insight) ProtoMessage

func (*Insight) ProtoMessage()

func (*Insight) ProtoReflect

func (x *Insight) ProtoReflect() protoreflect.Message

func (*Insight) Reset

func (x *Insight) Reset()

func (*Insight) String

func (x *Insight) String() string

type Lens

type Lens struct {

	//* Lens type
	Type Lens_LensType `protobuf:"varint,1,opt,name=type,proto3,enum=araali_api_service.Lens_LensType" json:"type,omitempty"`
	//* Zone of the lens
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	//* App lens
	App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	//* Pod of the lens
	Pod string `protobuf:"bytes,4,opt,name=pod,proto3" json:"pod,omitempty"`
	//* Container of the lens
	ContainerName string `protobuf:"bytes,5,opt,name=container_name,json=containerName,proto3" json:"container_name,omitempty"`
	//* Process of the lens
	Process string `protobuf:"bytes,6,opt,name=process,proto3" json:"process,omitempty"`
	//* Parent process of the lens
	ParentProcess string `protobuf:"bytes,7,opt,name=parent_process,json=parentProcess,proto3" json:"parent_process,omitempty"`
	//* Binary name of the lens
	BinaryName string `protobuf:"bytes,8,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"`
	//* Service lens
	Service string `protobuf:"bytes,9,opt,name=service,proto3" json:"service,omitempty"`
	// contains filtered or unexported fields
}

* Drilled down entity/lens

func (*Lens) Descriptor deprecated

func (*Lens) Descriptor() ([]byte, []int)

Deprecated: Use Lens.ProtoReflect.Descriptor instead.

func (*Lens) GetApp

func (x *Lens) GetApp() string

func (*Lens) GetBinaryName

func (x *Lens) GetBinaryName() string

func (*Lens) GetContainerName

func (x *Lens) GetContainerName() string

func (*Lens) GetParentProcess

func (x *Lens) GetParentProcess() string

func (*Lens) GetPod

func (x *Lens) GetPod() string

func (*Lens) GetProcess

func (x *Lens) GetProcess() string

func (*Lens) GetService

func (x *Lens) GetService() string

func (*Lens) GetType

func (x *Lens) GetType() Lens_LensType

func (*Lens) GetZone

func (x *Lens) GetZone() string

func (*Lens) ProtoMessage

func (*Lens) ProtoMessage()

func (*Lens) ProtoReflect

func (x *Lens) ProtoReflect() protoreflect.Message

func (*Lens) Reset

func (x *Lens) Reset()

func (*Lens) String

func (x *Lens) String() string

type Lens_LensType

type Lens_LensType int32

* Type of lens

const (
	Lens_UNKNOWN_LENS Lens_LensType = 0 // Unspecified
	Lens_ZONE_APP     Lens_LensType = 1 // Zone/App level
	Lens_SERVICE      Lens_LensType = 2 // Service level
	Lens_ZONE         Lens_LensType = 3 // Zone level
	Lens_PROCESS      Lens_LensType = 4 // Process level
	Lens_CONTAINER    Lens_LensType = 5 // Container level
	Lens_TENANT       Lens_LensType = 6 // Tenant level
)

func (Lens_LensType) Descriptor

func (Lens_LensType) Enum

func (x Lens_LensType) Enum() *Lens_LensType

func (Lens_LensType) EnumDescriptor deprecated

func (Lens_LensType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Lens_LensType.Descriptor instead.

func (Lens_LensType) Number

func (Lens_LensType) String

func (x Lens_LensType) String() string

func (Lens_LensType) Type

type Link struct {

	//* Client endpoint
	Client *EndPoint `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	//* Server endpoint
	Server *EndPoint `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	//* Direction of client-server link
	Direction Link_LinkDirection `protobuf:"varint,3,opt,name=direction,proto3,enum=araali_api_service.Link_LinkDirection" json:"direction,omitempty"`
	//* Timestamp when link was discovered
	Timestamp *timestamp.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	//* Unique handle to the link
	UniqueId string `protobuf:"bytes,5,opt,name=unique_id,json=uniqueId,proto3" json:"unique_id,omitempty"`
	//* State of the link alert, active/snoozed etc
	State LinkState `protobuf:"varint,6,opt,name=state,proto3,enum=araali_api_service.LinkState" json:"state,omitempty"`
	//* Aggregated active/inactive ports
	Ports *Ports `protobuf:"bytes,7,opt,name=ports,proto3" json:"ports,omitempty"`
	// Types that are assignable to Info:
	//	*Link_AlertInfo
	//	*Link_PolicyInfo
	Info isLink_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

* Represents an alert or policy link

func (*Link) Descriptor deprecated

func (*Link) Descriptor() ([]byte, []int)

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetAlertInfo

func (x *Link) GetAlertInfo() *AlertInfo

func (*Link) GetClient

func (x *Link) GetClient() *EndPoint

func (*Link) GetDirection

func (x *Link) GetDirection() Link_LinkDirection

func (*Link) GetInfo

func (m *Link) GetInfo() isLink_Info

func (*Link) GetPolicyInfo

func (x *Link) GetPolicyInfo() *PolicyInfo

func (*Link) GetPorts

func (x *Link) GetPorts() *Ports

func (*Link) GetServer

func (x *Link) GetServer() *EndPoint

func (*Link) GetState

func (x *Link) GetState() LinkState

func (*Link) GetTimestamp

func (x *Link) GetTimestamp() *timestamp.Timestamp

func (*Link) GetUniqueId

func (x *Link) GetUniqueId() string

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

func (x *Link) ProtoReflect() protoreflect.Message

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type LinkState

type LinkState int32

* Type of a link Alert or PolicyInfo

const (
	LinkState_BASELINE_ALERT LinkState = 0 // Alert
	LinkState_DEFINED_POLICY LinkState = 1 // Currently active policy
	LinkState_SNOOZED_POLICY LinkState = 2 // Policy that was discovered but removed/snoozed
	LinkState_DENIED_POLICY  LinkState = 3 // Deny policy
)

func (LinkState) Descriptor

func (LinkState) Descriptor() protoreflect.EnumDescriptor

func (LinkState) Enum

func (x LinkState) Enum() *LinkState

func (LinkState) EnumDescriptor deprecated

func (LinkState) EnumDescriptor() ([]byte, []int)

Deprecated: Use LinkState.Descriptor instead.

func (LinkState) Number

func (x LinkState) Number() protoreflect.EnumNumber

func (LinkState) String

func (x LinkState) String() string

func (LinkState) Type

type Link_AlertInfo struct {
	//* Additional information for alerts
	AlertInfo *AlertInfo `protobuf:"bytes,8,opt,name=alert_info,json=alertInfo,proto3,oneof"`
}
type Link_LinkDirection int32

* Direction of the link araali-araali, araali-ingress etc

const (
	Link_UNKNOWN_DIRECTION  Link_LinkDirection = 0 // Unknown
	Link_NON_ARAALI_INGRESS Link_LinkDirection = 1 // Ingress from an unprotected non-araali endpoint
	Link_ARAALI_INGRESS     Link_LinkDirection = 2 // Ingress from an araali protected endpoint
	Link_NON_ARAALI_EGRESS  Link_LinkDirection = 3 // Egress to an unprotected non-araali endpoint
	Link_ARAALI_EGRESS      Link_LinkDirection = 4 // Egress to an araali protected endpoint
	Link_INTERNAL           Link_LinkDirection = 5 // Link between two araali endpoints within an app
)
func (Link_LinkDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use Link_LinkDirection.Descriptor instead.

func (x Link_LinkDirection) String() string
type Link_PolicyInfo struct {
	//* Additional information for policy links
	PolicyInfo *PolicyInfo `protobuf:"bytes,9,opt,name=policy_info,json=policyInfo,proto3,oneof"`
}

type ListAlertsRequest

type ListAlertsRequest struct {

	//* Handle to tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Filter responses
	Filter *AlertFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	//* Number of alerts to be returned each API call
	Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
	//* Token to be sent in the next API call to retrieve the next set of alerts (paging)
	PagingToken string `protobuf:"bytes,4,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
	// contains filtered or unexported fields
}

* Request for alerts received by tenant

func (*ListAlertsRequest) Descriptor deprecated

func (*ListAlertsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAlertsRequest.ProtoReflect.Descriptor instead.

func (*ListAlertsRequest) GetCount

func (x *ListAlertsRequest) GetCount() int32

func (*ListAlertsRequest) GetFilter

func (x *ListAlertsRequest) GetFilter() *AlertFilter

func (*ListAlertsRequest) GetPagingToken

func (x *ListAlertsRequest) GetPagingToken() string

func (*ListAlertsRequest) GetTenant

func (x *ListAlertsRequest) GetTenant() *Tenant

func (*ListAlertsRequest) ProtoMessage

func (*ListAlertsRequest) ProtoMessage()

func (*ListAlertsRequest) ProtoReflect

func (x *ListAlertsRequest) ProtoReflect() protoreflect.Message

func (*ListAlertsRequest) Reset

func (x *ListAlertsRequest) Reset()

func (*ListAlertsRequest) String

func (x *ListAlertsRequest) String() string

type ListAlertsResponse

type ListAlertsResponse struct {

	//* ListAsset API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* List of alerts
	Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	//* Token to be passed to the next API call (indicating there are more alerts to be retrieved)
	PagingToken string `protobuf:"bytes,3,opt,name=paging_token,json=pagingToken,proto3" json:"paging_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAlertsResponse) Descriptor deprecated

func (*ListAlertsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAlertsResponse.ProtoReflect.Descriptor instead.

func (x *ListAlertsResponse) GetLinks() []*Link

func (*ListAlertsResponse) GetPagingToken

func (x *ListAlertsResponse) GetPagingToken() string

func (*ListAlertsResponse) GetResponse

func (x *ListAlertsResponse) GetResponse() *AraaliAPIResponse

func (*ListAlertsResponse) ProtoMessage

func (*ListAlertsResponse) ProtoMessage()

func (*ListAlertsResponse) ProtoReflect

func (x *ListAlertsResponse) ProtoReflect() protoreflect.Message

func (*ListAlertsResponse) Reset

func (x *ListAlertsResponse) Reset()

func (*ListAlertsResponse) String

func (x *ListAlertsResponse) String() string

type ListAssetsRequest

type ListAssetsRequest struct {

	//* Handle of the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Zone from which to return assets
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	//* App/Namespace from which to return assets
	App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	//* Start/End time range from which to return assets
	Time *TimeSlice `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"`
	//* Filter assets based on type and active/inactive
	Filter *AssetFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

* Request for the list of assets (virtual machines/containers) in a tenant.

func (*ListAssetsRequest) Descriptor deprecated

func (*ListAssetsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsRequest.ProtoReflect.Descriptor instead.

func (*ListAssetsRequest) GetApp

func (x *ListAssetsRequest) GetApp() string

func (*ListAssetsRequest) GetFilter

func (x *ListAssetsRequest) GetFilter() *AssetFilter

func (*ListAssetsRequest) GetTenant

func (x *ListAssetsRequest) GetTenant() *Tenant

func (*ListAssetsRequest) GetTime

func (x *ListAssetsRequest) GetTime() *TimeSlice

func (*ListAssetsRequest) GetZone

func (x *ListAssetsRequest) GetZone() string

func (*ListAssetsRequest) ProtoMessage

func (*ListAssetsRequest) ProtoMessage()

func (*ListAssetsRequest) ProtoReflect

func (x *ListAssetsRequest) ProtoReflect() protoreflect.Message

func (*ListAssetsRequest) Reset

func (x *ListAssetsRequest) Reset()

func (*ListAssetsRequest) String

func (x *ListAssetsRequest) String() string

type ListAssetsResponse

type ListAssetsResponse struct {

	//* ListAsset API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* List of assets
	Assets []*Asset `protobuf:"bytes,2,rep,name=assets,proto3" json:"assets,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAssetsResponse) Descriptor deprecated

func (*ListAssetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAssetsResponse.ProtoReflect.Descriptor instead.

func (*ListAssetsResponse) GetAssets

func (x *ListAssetsResponse) GetAssets() []*Asset

func (*ListAssetsResponse) GetResponse

func (x *ListAssetsResponse) GetResponse() *AraaliAPIResponse

func (*ListAssetsResponse) ProtoMessage

func (*ListAssetsResponse) ProtoMessage()

func (*ListAssetsResponse) ProtoReflect

func (x *ListAssetsResponse) ProtoReflect() protoreflect.Message

func (*ListAssetsResponse) Reset

func (x *ListAssetsResponse) Reset()

func (*ListAssetsResponse) String

func (x *ListAssetsResponse) String() string

type ListFortifyYamlRequest

type ListFortifyYamlRequest struct {

	//* Handle of tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Type of yaml to list
	YamlType FortifyYamlType `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListFortifyYamlRequest) Descriptor deprecated

func (*ListFortifyYamlRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFortifyYamlRequest.ProtoReflect.Descriptor instead.

func (*ListFortifyYamlRequest) GetTenant

func (x *ListFortifyYamlRequest) GetTenant() *Tenant

func (*ListFortifyYamlRequest) GetYamlType

func (x *ListFortifyYamlRequest) GetYamlType() FortifyYamlType

func (*ListFortifyYamlRequest) ProtoMessage

func (*ListFortifyYamlRequest) ProtoMessage()

func (*ListFortifyYamlRequest) ProtoReflect

func (x *ListFortifyYamlRequest) ProtoReflect() protoreflect.Message

func (*ListFortifyYamlRequest) Reset

func (x *ListFortifyYamlRequest) Reset()

func (*ListFortifyYamlRequest) String

func (x *ListFortifyYamlRequest) String() string

type ListFortifyYamlResponse

type ListFortifyYamlResponse struct {

	//* ListWorkloadResponse API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* List of workloads
	Workloads []string `protobuf:"bytes,2,rep,name=workloads,proto3" json:"workloads,omitempty"`
	// contains filtered or unexported fields
}

func (*ListFortifyYamlResponse) Descriptor deprecated

func (*ListFortifyYamlResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFortifyYamlResponse.ProtoReflect.Descriptor instead.

func (*ListFortifyYamlResponse) GetResponse

func (x *ListFortifyYamlResponse) GetResponse() *AraaliAPIResponse

func (*ListFortifyYamlResponse) GetWorkloads

func (x *ListFortifyYamlResponse) GetWorkloads() []string

func (*ListFortifyYamlResponse) ProtoMessage

func (*ListFortifyYamlResponse) ProtoMessage()

func (*ListFortifyYamlResponse) ProtoReflect

func (x *ListFortifyYamlResponse) ProtoReflect() protoreflect.Message

func (*ListFortifyYamlResponse) Reset

func (x *ListFortifyYamlResponse) Reset()

func (*ListFortifyYamlResponse) String

func (x *ListFortifyYamlResponse) String() string

type ListInsightsRequest

type ListInsightsRequest struct {

	//* Handle of tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Zone where insights are requested
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInsightsRequest) Descriptor deprecated

func (*ListInsightsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInsightsRequest.ProtoReflect.Descriptor instead.

func (*ListInsightsRequest) GetTenant

func (x *ListInsightsRequest) GetTenant() *Tenant

func (*ListInsightsRequest) GetZone

func (x *ListInsightsRequest) GetZone() string

func (*ListInsightsRequest) ProtoMessage

func (*ListInsightsRequest) ProtoMessage()

func (*ListInsightsRequest) ProtoReflect

func (x *ListInsightsRequest) ProtoReflect() protoreflect.Message

func (*ListInsightsRequest) Reset

func (x *ListInsightsRequest) Reset()

func (*ListInsightsRequest) String

func (x *ListInsightsRequest) String() string

type ListInsightsResponse

type ListInsightsResponse struct {

	//* ListInsights API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* List of insights
	Insights []*Insight `protobuf:"bytes,2,rep,name=insights,proto3" json:"insights,omitempty"`
	// contains filtered or unexported fields
}

func (*ListInsightsResponse) Descriptor deprecated

func (*ListInsightsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInsightsResponse.ProtoReflect.Descriptor instead.

func (*ListInsightsResponse) GetInsights

func (x *ListInsightsResponse) GetInsights() []*Insight

func (*ListInsightsResponse) GetResponse

func (x *ListInsightsResponse) GetResponse() *AraaliAPIResponse

func (*ListInsightsResponse) ProtoMessage

func (*ListInsightsResponse) ProtoMessage()

func (*ListInsightsResponse) ProtoReflect

func (x *ListInsightsResponse) ProtoReflect() protoreflect.Message

func (*ListInsightsResponse) Reset

func (x *ListInsightsResponse) Reset()

func (*ListInsightsResponse) String

func (x *ListInsightsResponse) String() string

type ListLinksRequest

type ListLinksRequest struct {

	//* Handle for the tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Zone for the request
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	//* App for the request
	App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	//* Required when zone and app are not specified. Must be in form of ip:port or fqdn:port
	Service string `protobuf:"bytes,4,opt,name=service,proto3" json:"service,omitempty"`
	//* Time range for the list links request
	Time *TimeSlice `protobuf:"bytes,5,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLinksRequest) Descriptor deprecated

func (*ListLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListLinksRequest.ProtoReflect.Descriptor instead.

func (*ListLinksRequest) GetApp

func (x *ListLinksRequest) GetApp() string

func (*ListLinksRequest) GetService

func (x *ListLinksRequest) GetService() string

func (*ListLinksRequest) GetTenant

func (x *ListLinksRequest) GetTenant() *Tenant

func (*ListLinksRequest) GetTime

func (x *ListLinksRequest) GetTime() *TimeSlice

func (*ListLinksRequest) GetZone

func (x *ListLinksRequest) GetZone() string

func (*ListLinksRequest) ProtoMessage

func (*ListLinksRequest) ProtoMessage()

func (*ListLinksRequest) ProtoReflect

func (x *ListLinksRequest) ProtoReflect() protoreflect.Message

func (*ListLinksRequest) Reset

func (x *ListLinksRequest) Reset()

func (*ListLinksRequest) String

func (x *ListLinksRequest) String() string

type ListLinksResponse

type ListLinksResponse struct {

	//* ListLinks API call response
	Response *AraaliAPIResponse `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
	//* List of links
	Links []*Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*ListLinksResponse) Descriptor deprecated

func (*ListLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListLinksResponse.ProtoReflect.Descriptor instead.

func (x *ListLinksResponse) GetLinks() []*Link

func (*ListLinksResponse) GetResponse

func (x *ListLinksResponse) GetResponse() *AraaliAPIResponse

func (*ListLinksResponse) ProtoMessage

func (*ListLinksResponse) ProtoMessage()

func (*ListLinksResponse) ProtoReflect

func (x *ListLinksResponse) ProtoReflect() protoreflect.Message

func (*ListLinksResponse) Reset

func (x *ListLinksResponse) Reset()

func (*ListLinksResponse) String

func (x *ListLinksResponse) String() string

type ListPolicyAndEnforcementStatusRequest

type ListPolicyAndEnforcementStatusRequest struct {

	//* Handle of tenant
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	//* Zone to which container belongs
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	//* App to which container belongs
	App string `protobuf:"bytes,3,opt,name=app,proto3" json:"app,omitempty"`
	//* Pod to which container belongs
	Pod string `protobuf:"bytes,4,opt,name=pod,proto3" json:"pod,omitempty"`
	//* container name
	Container string `protobuf:"bytes,5,opt,name=container,proto3" json:"container,omitempty"`
	// contains filtered or unexported fields
}

func (*ListPolicyAndEnforcementStatusRequest) Descriptor deprecated

func (*ListPolicyAndEnforcementStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyAndEnforcementStatusRequest.ProtoReflect.Descriptor instead.

func (*ListPolicyAndEnforcementStatusRequest) GetApp

func (*ListPolicyAndEnforcementStatusRequest) GetContainer

func (*ListPolicyAndEnforcementStatusRequest) GetPod

func (*ListPolicyAndEnforcementStatusRequest) GetTenant

func (*ListPolicyAndEnforcementStatusRequest) GetZone

func (*ListPolicyAndEnforcementStatusRequest) ProtoMessage

func (*ListPolicyAndEnforcementStatusRequest) ProtoMessage()

func (*ListPolicyAndEnforcementStatusRequest) ProtoReflect

func (*ListPolicyAndEnforcementStatusRequest) Reset

func (*ListPolicyAndEnforcementStatusRequest) String

type ListPolicyAndEnforcementStatusResponse

type ListPolicyAndEnforcementStatusResponse struct {

	//* Policies represented in yaml format.
	PolicyAndEnforcementYaml string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListPolicyAndEnforcementStatusResponse) Descriptor deprecated

func (*ListPolicyAndEnforcementStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPolicyAndEnforcementStatusResponse.ProtoReflect.Descriptor instead.

func (*ListPolicyAndEnforcementStatusResponse) GetPolicyAndEnforcementYaml

func (x *ListPolicyAndEnforcementStatusResponse) GetPolicyAndEnforcementYaml() string

func (*ListPolicyAndEnforcementStatusResponse) ProtoMessage

func (*ListPolicyAndEnforcementStatusResponse) ProtoReflect

func (*ListPolicyAndEnforcementStatusResponse) Reset

func (*ListPolicyAndEnforcementStatusResponse) String

type NonAraaliClientEndpoint

type NonAraaliClientEndpoint struct {

	//* Client subnet
	Subnet *Subnet `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"`
	// contains filtered or unexported fields
}

Represents a non araali client endpoint

func (*NonAraaliClientEndpoint) Descriptor deprecated

func (*NonAraaliClientEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use NonAraaliClientEndpoint.ProtoReflect.Descriptor instead.

func (*NonAraaliClientEndpoint) GetSubnet

func (x *NonAraaliClientEndpoint) GetSubnet() *Subnet

func (*NonAraaliClientEndpoint) ProtoMessage

func (*NonAraaliClientEndpoint) ProtoMessage()

func (*NonAraaliClientEndpoint) ProtoReflect

func (x *NonAraaliClientEndpoint) ProtoReflect() protoreflect.Message

func (*NonAraaliClientEndpoint) Reset

func (x *NonAraaliClientEndpoint) Reset()

func (*NonAraaliClientEndpoint) String

func (x *NonAraaliClientEndpoint) String() string

type NonAraaliEndpoint

type NonAraaliEndpoint struct {

	// Types that are assignable to Info:
	//	*NonAraaliEndpoint_Client
	//	*NonAraaliEndpoint_Server
	Info isNonAraaliEndpoint_Info `protobuf_oneof:"info"`
	//* WORLD if public subnet. HOME if private subnet.
	EndpointGroup NonAraaliEndpoint_EndpointGroup `` /* 157-byte string literal not displayed */
	//* Autonomous System Organization of the IP address if available
	Organization string `protobuf:"bytes,4,opt,name=organization,proto3" json:"organization,omitempty"`
	// contains filtered or unexported fields
}

Represents a non araali endpoint

func (*NonAraaliEndpoint) Descriptor deprecated

func (*NonAraaliEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use NonAraaliEndpoint.ProtoReflect.Descriptor instead.

func (*NonAraaliEndpoint) GetClient

func (*NonAraaliEndpoint) GetEndpointGroup

func (x *NonAraaliEndpoint) GetEndpointGroup() NonAraaliEndpoint_EndpointGroup

func (*NonAraaliEndpoint) GetInfo

func (m *NonAraaliEndpoint) GetInfo() isNonAraaliEndpoint_Info

func (*NonAraaliEndpoint) GetOrganization

func (x *NonAraaliEndpoint) GetOrganization() string

func (*NonAraaliEndpoint) GetServer

func (*NonAraaliEndpoint) ProtoMessage

func (*NonAraaliEndpoint) ProtoMessage()

func (*NonAraaliEndpoint) ProtoReflect

func (x *NonAraaliEndpoint) ProtoReflect() protoreflect.Message

func (*NonAraaliEndpoint) Reset

func (x *NonAraaliEndpoint) Reset()

func (*NonAraaliEndpoint) String

func (x *NonAraaliEndpoint) String() string

type NonAraaliEndpoint_Client

type NonAraaliEndpoint_Client struct {
	//* Non araali client
	Client *NonAraaliClientEndpoint `protobuf:"bytes,1,opt,name=client,proto3,oneof"`
}

type NonAraaliEndpoint_EndpointGroup

type NonAraaliEndpoint_EndpointGroup int32
const (
	NonAraaliEndpoint_UNKNOWN_GROUP NonAraaliEndpoint_EndpointGroup = 0
	NonAraaliEndpoint_WORLD         NonAraaliEndpoint_EndpointGroup = 1
	NonAraaliEndpoint_HOME          NonAraaliEndpoint_EndpointGroup = 2
)

func (NonAraaliEndpoint_EndpointGroup) Descriptor

func (NonAraaliEndpoint_EndpointGroup) Enum

func (NonAraaliEndpoint_EndpointGroup) EnumDescriptor deprecated

func (NonAraaliEndpoint_EndpointGroup) EnumDescriptor() ([]byte, []int)

Deprecated: Use NonAraaliEndpoint_EndpointGroup.Descriptor instead.

func (NonAraaliEndpoint_EndpointGroup) Number

func (NonAraaliEndpoint_EndpointGroup) String

func (NonAraaliEndpoint_EndpointGroup) Type

type NonAraaliEndpoint_Server

type NonAraaliEndpoint_Server struct {
	//* Non araali server
	Server *NonAraaliServerEndpoint `protobuf:"bytes,2,opt,name=server,proto3,oneof"`
}

type NonAraaliServerEndpoint

type NonAraaliServerEndpoint struct {

	// Types that are assignable to DnsOrSubnet:
	//	*NonAraaliServerEndpoint_DnsPattern
	//	*NonAraaliServerEndpoint_Subnet
	DnsOrSubnet isNonAraaliServerEndpoint_DnsOrSubnet `protobuf_oneof:"dns_or_subnet"`
	//* Service destination port
	DstPort uint32 `protobuf:"varint,13,opt,name=dst_port,json=dstPort,proto3" json:"dst_port,omitempty"`
	// contains filtered or unexported fields
}

Represents a non araali server endpoint

func (*NonAraaliServerEndpoint) Descriptor deprecated

func (*NonAraaliServerEndpoint) Descriptor() ([]byte, []int)

Deprecated: Use NonAraaliServerEndpoint.ProtoReflect.Descriptor instead.

func (*NonAraaliServerEndpoint) GetDnsOrSubnet

func (m *NonAraaliServerEndpoint) GetDnsOrSubnet() isNonAraaliServerEndpoint_DnsOrSubnet

func (*NonAraaliServerEndpoint) GetDnsPattern

func (x *NonAraaliServerEndpoint) GetDnsPattern() string

func (*NonAraaliServerEndpoint) GetDstPort

func (x *NonAraaliServerEndpoint) GetDstPort() uint32

func (*NonAraaliServerEndpoint) GetSubnet

func (x *NonAraaliServerEndpoint) GetSubnet() *Subnet

func (*NonAraaliServerEndpoint) ProtoMessage

func (*NonAraaliServerEndpoint) ProtoMessage()

func (*NonAraaliServerEndpoint) ProtoReflect

func (x *NonAraaliServerEndpoint) ProtoReflect() protoreflect.Message

func (*NonAraaliServerEndpoint) Reset

func (x *NonAraaliServerEndpoint) Reset()

func (*NonAraaliServerEndpoint) String

func (x *NonAraaliServerEndpoint) String() string

type NonAraaliServerEndpoint_DnsPattern

type NonAraaliServerEndpoint_DnsPattern struct {
	//* DNS/FQDN of endpoint
	DnsPattern string `protobuf:"bytes,1,opt,name=dns_pattern,json=dnsPattern,proto3,oneof"`
}

type NonAraaliServerEndpoint_Subnet

type NonAraaliServerEndpoint_Subnet struct {
	//* Server subnet
	Subnet *Subnet `protobuf:"bytes,2,opt,name=subnet,proto3,oneof"`
}

type PolicyInfo

type PolicyInfo struct {

	//* Template name used to validate the link
	TemplateName string `protobuf:"bytes,1,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"`
	//* User who created the template to validate the link
	TemplateUser string `protobuf:"bytes,2,opt,name=template_user,json=templateUser,proto3" json:"template_user,omitempty"`
	//* Reason for skipping policy evaluation at agents when enforced
	PolicySkipReason string `protobuf:"bytes,3,opt,name=policy_skip_reason,json=policySkipReason,proto3" json:"policy_skip_reason,omitempty"`
	// contains filtered or unexported fields
}

* Additional information about policy

func (*PolicyInfo) Descriptor deprecated

func (*PolicyInfo) Descriptor() ([]byte, []int)

Deprecated: Use PolicyInfo.ProtoReflect.Descriptor instead.

func (*PolicyInfo) GetPolicySkipReason

func (x *PolicyInfo) GetPolicySkipReason() string

func (*PolicyInfo) GetTemplateName

func (x *PolicyInfo) GetTemplateName() string

func (*PolicyInfo) GetTemplateUser

func (x *PolicyInfo) GetTemplateUser() string

func (*PolicyInfo) ProtoMessage

func (*PolicyInfo) ProtoMessage()

func (*PolicyInfo) ProtoReflect

func (x *PolicyInfo) ProtoReflect() protoreflect.Message

func (*PolicyInfo) Reset

func (x *PolicyInfo) Reset()

func (*PolicyInfo) String

func (x *PolicyInfo) String() string

type Ports

type Ports struct {

	//* Active aggregated ports in the link
	ActivePorts []uint32 `protobuf:"varint,1,rep,packed,name=active_ports,json=activePorts,proto3" json:"active_ports,omitempty"`
	//* Inactive aggregated ports in the link
	InactivePorts []uint32 `protobuf:"varint,2,rep,packed,name=inactive_ports,json=inactivePorts,proto3" json:"inactive_ports,omitempty"`
	// contains filtered or unexported fields
}

func (*Ports) Descriptor deprecated

func (*Ports) Descriptor() ([]byte, []int)

Deprecated: Use Ports.ProtoReflect.Descriptor instead.

func (*Ports) GetActivePorts

func (x *Ports) GetActivePorts() []uint32

func (*Ports) GetInactivePorts

func (x *Ports) GetInactivePorts() []uint32

func (*Ports) ProtoMessage

func (*Ports) ProtoMessage()

func (*Ports) ProtoReflect

func (x *Ports) ProtoReflect() protoreflect.Message

func (*Ports) Reset

func (x *Ports) Reset()

func (*Ports) String

func (x *Ports) String() string

type Subnet

type Subnet struct {

	//* Client subnet
	Subnet string `protobuf:"bytes,1,opt,name=subnet,proto3" json:"subnet,omitempty"`
	//* Client netmask
	NetMask uint32 `protobuf:"varint,2,opt,name=net_mask,json=netMask,proto3" json:"net_mask,omitempty"`
	// contains filtered or unexported fields
}

* Represents the subnet/mask

func (*Subnet) Descriptor deprecated

func (*Subnet) Descriptor() ([]byte, []int)

Deprecated: Use Subnet.ProtoReflect.Descriptor instead.

func (*Subnet) GetNetMask

func (x *Subnet) GetNetMask() uint32

func (*Subnet) GetSubnet

func (x *Subnet) GetSubnet() string

func (*Subnet) ProtoMessage

func (*Subnet) ProtoMessage()

func (*Subnet) ProtoReflect

func (x *Subnet) ProtoReflect() protoreflect.Message

func (*Subnet) Reset

func (x *Subnet) Reset()

func (*Subnet) String

func (x *Subnet) String() string

type Tenant

type Tenant struct {

	//* Id of the tenant
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	//* Admin e-mail of the tenant.
	//  Also adds an ADMIN role user in this tenant.
	AdminEmail string `protobuf:"bytes,2,opt,name=admin_email,json=adminEmail,proto3" json:"admin_email,omitempty"`
	// contains filtered or unexported fields
}

* Tenant object identifying the tenant in API calls.

func (*Tenant) Descriptor deprecated

func (*Tenant) Descriptor() ([]byte, []int)

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) GetAdminEmail

func (x *Tenant) GetAdminEmail() string

func (*Tenant) GetId

func (x *Tenant) GetId() string

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect

func (x *Tenant) ProtoReflect() protoreflect.Message

func (*Tenant) Reset

func (x *Tenant) Reset()

func (*Tenant) String

func (x *Tenant) String() string

type TimeSlice

type TimeSlice struct {

	//* Start time to fetch from. Specify 0 to indicate beginning of time
	StartTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	//* End time to fetch up to
	EndTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

* Object for specifying start and end time in varous API calls.

func (*TimeSlice) Descriptor deprecated

func (*TimeSlice) Descriptor() ([]byte, []int)

Deprecated: Use TimeSlice.ProtoReflect.Descriptor instead.

func (*TimeSlice) GetEndTime

func (x *TimeSlice) GetEndTime() *timestamp.Timestamp

func (*TimeSlice) GetStartTime

func (x *TimeSlice) GetStartTime() *timestamp.Timestamp

func (*TimeSlice) ProtoMessage

func (*TimeSlice) ProtoMessage()

func (*TimeSlice) ProtoReflect

func (x *TimeSlice) ProtoReflect() protoreflect.Message

func (*TimeSlice) Reset

func (x *TimeSlice) Reset()

func (*TimeSlice) String

func (x *TimeSlice) String() string

type UnimplementedAraaliAPIServer

type UnimplementedAraaliAPIServer struct {
}

UnimplementedAraaliAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAraaliAPIServer) AddUser

func (*UnimplementedAraaliAPIServer) CreateFortifyYaml

func (*UnimplementedAraaliAPIServer) CreateTenant

func (*UnimplementedAraaliAPIServer) DeleteFortifyYaml

func (*UnimplementedAraaliAPIServer) DeleteTenant

func (*UnimplementedAraaliAPIServer) DeleteUser

func (*UnimplementedAraaliAPIServer) GetFirewallConfig

func (*UnimplementedAraaliAPIServer) ListAlerts

func (*UnimplementedAraaliAPIServer) ListAssets

func (*UnimplementedAraaliAPIServer) ListFortifyYaml

func (*UnimplementedAraaliAPIServer) ListInsights

func (*UnimplementedAraaliAPIServer) UpdateFirewallConfig

type UpdateFirewallConfigRequest

type UpdateFirewallConfigRequest struct {
	TenantId string         `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	Zone     string         `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	Knobs    *AraaliFwKnobs `protobuf:"bytes,3,opt,name=knobs,proto3" json:"knobs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateFirewallConfigRequest) Descriptor deprecated

func (*UpdateFirewallConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFirewallConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateFirewallConfigRequest) GetKnobs

func (*UpdateFirewallConfigRequest) GetTenantId

func (x *UpdateFirewallConfigRequest) GetTenantId() string

func (*UpdateFirewallConfigRequest) GetZone

func (x *UpdateFirewallConfigRequest) GetZone() string

func (*UpdateFirewallConfigRequest) ProtoMessage

func (*UpdateFirewallConfigRequest) ProtoMessage()

func (*UpdateFirewallConfigRequest) ProtoReflect

func (*UpdateFirewallConfigRequest) Reset

func (x *UpdateFirewallConfigRequest) Reset()

func (*UpdateFirewallConfigRequest) String

func (x *UpdateFirewallConfigRequest) String() string

type Vulnerability

type Vulnerability struct {

	//* Package name with the vulnerability
	PackageName string `protobuf:"bytes,1,opt,name=package_name,json=packageName,proto3" json:"package_name,omitempty"`
	//* CVE id of the vulnerability
	CveId []string `protobuf:"bytes,2,rep,name=cve_id,json=cveId,proto3" json:"cve_id,omitempty"`
	//* Severity of the vulnerability
	Severity Vulnerability_Severity `protobuf:"varint,3,opt,name=severity,proto3,enum=araali_api_service.Vulnerability_Severity" json:"severity,omitempty"`
	// contains filtered or unexported fields
}

* Captures an instance of vulnerability package name, cve info etc

func (*Vulnerability) Descriptor deprecated

func (*Vulnerability) Descriptor() ([]byte, []int)

Deprecated: Use Vulnerability.ProtoReflect.Descriptor instead.

func (*Vulnerability) GetCveId

func (x *Vulnerability) GetCveId() []string

func (*Vulnerability) GetPackageName

func (x *Vulnerability) GetPackageName() string

func (*Vulnerability) GetSeverity

func (x *Vulnerability) GetSeverity() Vulnerability_Severity

func (*Vulnerability) ProtoMessage

func (*Vulnerability) ProtoMessage()

func (*Vulnerability) ProtoReflect

func (x *Vulnerability) ProtoReflect() protoreflect.Message

func (*Vulnerability) Reset

func (x *Vulnerability) Reset()

func (*Vulnerability) String

func (x *Vulnerability) String() string

type Vulnerability_Severity

type Vulnerability_Severity int32
const (
	Vulnerability_NONE     Vulnerability_Severity = 0 // No severity
	Vulnerability_LOW      Vulnerability_Severity = 1 // Low severity
	Vulnerability_MEDIUM   Vulnerability_Severity = 2 // Medium severity
	Vulnerability_HIGH     Vulnerability_Severity = 3 // High severity
	Vulnerability_CRITICAL Vulnerability_Severity = 4 // Critical severity
)

func (Vulnerability_Severity) Descriptor

func (Vulnerability_Severity) Enum

func (Vulnerability_Severity) EnumDescriptor deprecated

func (Vulnerability_Severity) EnumDescriptor() ([]byte, []int)

Deprecated: Use Vulnerability_Severity.Descriptor instead.

func (Vulnerability_Severity) Number

func (Vulnerability_Severity) String

func (x Vulnerability_Severity) String() string

func (Vulnerability_Severity) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL