v1

package
v0.0.161 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostScanRequest

type PostScanRequest struct {
	Format             string                    `json:"format,omitempty"`             // Format results (table, json, junit ...) - default json
	Account            string                    `json:"account,omitempty"`            // account ID
	Logger             string                    `json:"-"`                            // logger level - debug/info/error - default is debug
	FailThreshold      float32                   `json:"failThreshold,omitempty"`      // Failure score threshold
	ExcludedNamespaces []string                  `json:"excludedNamespaces,omitempty"` // used for host scanner namespace
	IncludeNamespaces  []string                  `json:"includeNamespaces,omitempty"`  // DEPRECATED?
	TargetNames        []string                  `json:"targetNames,omitempty"`        // default is all
	TargetType         v1.NotificationPolicyKind `json:"targetType,omitempty"`         // framework/control - default is framework
	Submit             *bool                     `json:"submit,omitempty"`             // Submit results to Armo BE - default will
	HostScanner        *bool                     `json:"hostScanner,omitempty"`        // Deploy ARMO K8s host scanner to collect data from certain controls
	KeepLocal          *bool                     `json:"keepLocal,omitempty"`          // Do not submit results
	UseCachedArtifacts *bool                     `json:"useCachedArtifacts,omitempty"` // Use the cached artifacts instead of downloading

}

type Response added in v0.0.135

type Response struct {
	ID       string              `json:"id"`
	Type     v1.ScanResponseType `json:"type"`
	Response interface{}         `json:"response,omitempty"`
}

Jump to

Keyboard shortcuts

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