model

package
v0.0.0-...-f6ab670 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

Variables

View Source
var ASSOCIATION_COMPLIANCE_TITLE string

Functions

func RefreshAssociationComplianceItems

func RefreshAssociationComplianceItems(associations []*model.InstanceAssociation)

*

  • Refresh association compliance items so legacy association compliance items will be refreshed

func UpdateAssociationComplianceItem

func UpdateAssociationComplianceItem(associationId string, documentName string, documentVersion string, associationStatus string, executionTime time.Time)

*

  • Update compliance item based on the executed instance association and update timestamp.

Types

type AssociationComplianceItem

type AssociationComplianceItem struct {
	// AssociationId stores the key of compliance status
	AssociationId      string
	ExecutionTime      time.Time
	DocumentName       string
	DocumentVersion    string
	Title              string
	ComplianceSeverity string
	ComplianceStatus   string
}

func GetAssociationComplianceEntries

func GetAssociationComplianceEntries() []*AssociationComplianceItem

Jump to

Keyboard shortcuts

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