collection

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

README

Evidences

The collection modules create evidences based on the Evidence structure in api/common/evidence.proto. An example evidence is shown in the following:

id := uuid.NewString()

common.Evidence{
	Id:             id, // A new uuid
	Name:           id, // For now the name is equal to the ID
	TargetService:  req.ServiceId, // The ServiceId from the collection.StartColletingRequest (api/collection/collection.proto)
	TargetResource: // Optional. A resource ID within the service, e.g., Resource.ID from clouditor.io/clouditor/voc/voc.go
	GatheredUsing:  req.MetricId, // The MetricId from the collection.StartColletingRequest (api/collection/collection.proto)
	GatheredAt:     // Timestamp of evidence gathering should come from the evidence collection tool, e.g., Clouditor Discovery component
	RawEvidence:    // Optional, could be a JSON representation of the raw underlying evidence in its original form
	Value:          // The measured value, e.g., the resource from clouditor.io/clouditor/voc/voc.go
}

Documentation

Index

Constants

View Source
const (
	TargetComponent = "Evaluation Manager"
)

Variables

This section is empty.

Functions

func EnqueueEvidences

EnqueueEvidences creates evidences and sends them into the stream to the Evaluation Manager

Types

This section is empty.

Directories

Path Synopsis
Package authsec contains service specific code for the Authentication Security Collection Module
Package authsec contains service specific code for the Authentication Security Collection Module
Package workload contains service specific code for the Workload Configuration Collection Module.
Package workload contains service specific code for the Workload Configuration Collection Module.

Jump to

Keyboard shortcuts

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