scans

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServiceConfig = services.ArkServiceConfig{
	ServiceName:                "sechub-scans",
	RequiredAuthenticatorNames: []string{"isp"},
	OptionalAuthenticatorNames: []string{},
	ActionsConfigurations: map[actions.ArkServiceActionType][]actions.ArkServiceActionDefinition{
		actions.ArkServiceActionTypeCLI: {
			sechubsscansactions.CLIAction,
		},
	},
}

ServiceConfig is the configuration for the Secrets Hub scans service.

View Source
var ServiceGenerator = NewArkSecHubScansService

ServiceGenerator is the function that creates a new instance of the SecHub scans service.

Functions

This section is empty.

Types

type ArkSecHubScansPage

type ArkSecHubScansPage = common.ArkPage[scansmodels.ArkSecHubScan]

ArkSecHubScansPage is a page of ArkSecHubScan items.

type ArkSecHubScansService

type ArkSecHubScansService struct {
	services.ArkService
	*services.ArkBaseService
	// contains filtered or unexported fields
}

ArkSecHubScansService is the service for interacting with Secrets Hub scans

func NewArkSecHubScansService

func NewArkSecHubScansService(authenticators ...auth.ArkAuth) (*ArkSecHubScansService, error)

NewArkSecHubScansService creates a new instance of ArkSecHubscansService.

func (*ArkSecHubScansService) Scans

func (s *ArkSecHubScansService) Scans() (<-chan *ArkSecHubScansPage, error)

Scans retrieves the scans info from the Secrets Hub service. https://api-docs.cyberark.com/docs/secretshub-api/78cprz38emhrb-get-scans

func (*ArkSecHubScansService) ScansStats

ScansStats retrieves statistics about scans.

func (*ArkSecHubScansService) ServiceConfig

func (s *ArkSecHubScansService) ServiceConfig() services.ArkServiceConfig

ServiceConfig returns the service scans for the ArkSecHubScansService.

func (*ArkSecHubScansService) TriggerScan

TriggerScan triggers scans in the Secrets Hub service. https://api-docs.cyberark.com/docs/secretshub-api/kyc9azwliw2xa-trigger-scan

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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