server

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

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MinimumSupportedInspecVersion = semver.MustParse("2.0.0")

Functions

func SendComplianceReport

func SendComplianceReport(ctx context.Context, in *compliance.Report, s *ComplianceIngestServer) error

Types

type ComplianceIngestServer

type ComplianceIngestServer struct {
	// contains filtered or unexported fields
}

func NewComplianceIngestServer

func NewComplianceIngestServer(esClient *ingestic.ESClient, mgrClient manager.NodeManagerServiceClient, reportMgrClient report_manager.ReportManagerServiceClient,
	automateURL string, notifierClient notifier.Notifier, authzProjectsClient authz.ProjectsServiceClient,
	messageBufferSize int, enableLargeReporting bool, cerealManager *cereal.Manager) *ComplianceIngestServer

func (*ComplianceIngestServer) HandleEvent

func (*ComplianceIngestServer) ProcessComplianceReport

ProcessComplianceReport receives messages in chunks and creates report

func (*ComplianceIngestServer) ProjectUpdateStatus

Jump to

Keyboard shortcuts

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