Documentation ¶
Index ¶
- func GetScanKind(notification *reporthandling.PolicyNotification) *reporthandling.PolicyIdentifier
- type PolicyHandler
- func (policyHandler *PolicyHandler) GetPoliciesFromBackend(notification *reporthandling.PolicyNotification) ([]reporthandling.Framework, []armotypes.PostureExceptionPolicy, error)
- func (policyHandler *PolicyHandler) HandleNotificationRequest(notification *reporthandling.PolicyNotification, scanInfo *cautils.ScanInfo) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetScanKind ¶ added in v1.0.95
func GetScanKind(notification *reporthandling.PolicyNotification) *reporthandling.PolicyIdentifier
Types ¶
type PolicyHandler ¶
type PolicyHandler struct {
// contains filtered or unexported fields
}
PolicyHandler -
func NewPolicyHandler ¶
func NewPolicyHandler(processPolicy *chan *cautils.OPASessionObj, resourceHandler resourcehandler.IResourceHandler) *PolicyHandler
CreatePolicyHandler Create ws-handler obj
func (*PolicyHandler) GetPoliciesFromBackend ¶
func (policyHandler *PolicyHandler) GetPoliciesFromBackend(notification *reporthandling.PolicyNotification) ([]reporthandling.Framework, []armotypes.PostureExceptionPolicy, error)
func (*PolicyHandler) HandleNotificationRequest ¶
func (policyHandler *PolicyHandler) HandleNotificationRequest(notification *reporthandling.PolicyNotification, scanInfo *cautils.ScanInfo) error
Click to show internal directories.
Click to hide internal directories.