security

package
v0.0.0-...-486ae31 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const OctoLintDeploymentQueuedByAdmin = "OctoLintDeploymentQueuedByAdmin"
View Source
const OctoLintInsecureK8sTargets = "OctoLintInsecureK8sTargets"
View Source
const (
	OctoLintSha1Certificates = "OctoLintSha1Certificates"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type APIKey

type APIKey struct {
	APIKey  APIKeyKey  `json:"ApiKey,omitempty"`
	Expires *time.Time `json:"Expires,omitempty"`
}

APIKey is used because the go client_wrapper has an invalid APIKey value that prevents the usual functions for querying users keys

type APIKeyKey

type APIKeyKey struct {
	Hint *string
}

type CustomCredentials

type CustomCredentials struct {
	Type     string  `json:"Type"`
	Username *string `json:"Username"`
}

type CustomPersistenceSettings

type CustomPersistenceSettings struct {
	Type        string             `json:"Type"`
	Credentials *CustomCredentials `json:"Credentials"`
}

type CustomProject

type CustomProject struct {
	PersistenceSettings CustomPersistenceSettings `json:"PersistenceSettings"`
	Name                string                    `json:"Name"`
}

CustomProject is the simplest representation of a project and its version controlled settings

type OctopusAudit

type OctopusAudit struct {
	Category           string
	RelatedDocumentIds []string
}

type OctopusDeploymentQueuedByAdminCheck

type OctopusDeploymentQueuedByAdminCheck struct {
	// contains filtered or unexported fields
}

OctopusDeploymentQueuedByAdminCheck checks to see if any deployments were initiated by someone from the admin teams. This usually means that a more specific and limited user should be created to perform deployments.

func (OctopusDeploymentQueuedByAdminCheck) Execute

func (OctopusDeploymentQueuedByAdminCheck) Id

type OctopusDuplicatedGitCredentialsCheck

type OctopusDuplicatedGitCredentialsCheck struct {
	// contains filtered or unexported fields
}

OctopusDuplicatedGitCredentialsCheck reports on any perpetual api keys

func (OctopusDuplicatedGitCredentialsCheck) Execute

func (OctopusDuplicatedGitCredentialsCheck) Id

type OctopusEventNotificationSubscription

type OctopusEventNotificationSubscription struct {
	WebhookURI string
}

type OctopusInsecureFeedsCheck

type OctopusInsecureFeedsCheck struct {
	// contains filtered or unexported fields
}

OctopusInsecureFeedsCheck checks to see if any targets have not been used in a month

func NewOctopusInsecureFeedsCheck

func NewOctopusInsecureFeedsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusInsecureFeedsCheck

func (OctopusInsecureFeedsCheck) Execute

func (o OctopusInsecureFeedsCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)

func (OctopusInsecureFeedsCheck) Id

type OctopusInsecureK8sCheck

type OctopusInsecureK8sCheck struct {
	// contains filtered or unexported fields
}

OctopusInsecureK8sCheck checks to see if any targets have not been used in a month

func NewOctopusInsecureK8sCheck

func NewOctopusInsecureK8sCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusInsecureK8sCheck

func (OctopusInsecureK8sCheck) Execute

func (o OctopusInsecureK8sCheck) Execute(concurrency int) (checks.OctopusCheckResult, error)

func (OctopusInsecureK8sCheck) Id

type OctopusInsecureSubscriptionsCheck

type OctopusInsecureSubscriptionsCheck struct {
	// contains filtered or unexported fields
}

OctopusInsecureSubscriptionsCheck checks to see if any targets have not been used in a month

func (OctopusInsecureSubscriptionsCheck) Execute

func (OctopusInsecureSubscriptionsCheck) Id

type OctopusPerpetualApiKeysCheck

type OctopusPerpetualApiKeysCheck struct {
	// contains filtered or unexported fields
}

OctopusPerpetualApiKeysCheck reports on any perpetual api keys

func NewOctopusPerpetualApiKeysCheck

func NewOctopusPerpetualApiKeysCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusPerpetualApiKeysCheck

func (OctopusPerpetualApiKeysCheck) Execute

func (OctopusPerpetualApiKeysCheck) Id

type OctopusSha1CertificatesCheck

type OctopusSha1CertificatesCheck struct {
	// contains filtered or unexported fields
}

OctopusSha1CertificatesCheck checks to see if any targets, workers or the server itself is using a sha1 certificate

func NewOctopusSha1CertificatesCheck

func NewOctopusSha1CertificatesCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusSha1CertificatesCheck

func (OctopusSha1CertificatesCheck) Execute

func (OctopusSha1CertificatesCheck) Id

type OctopusSubscription

type OctopusSubscription struct {
	Name                          string
	EventNotificationSubscription *OctopusEventNotificationSubscription
}

type OctopusUnrotatedAccountsCheck

type OctopusUnrotatedAccountsCheck struct {
	// contains filtered or unexported fields
}

OctopusUnrotatedAccountsCheck checks to see if any targets have not been used in a month

func NewOctopusUnrotatedAccountsCheck

func NewOctopusUnrotatedAccountsCheck(client *client.Client, config *config.OctolintConfig, errorHandler checks.OctopusClientErrorHandler) OctopusUnrotatedAccountsCheck

func (OctopusUnrotatedAccountsCheck) Execute

func (OctopusUnrotatedAccountsCheck) GetAll

func (OctopusUnrotatedAccountsCheck) Id

type ServerCertificate

type ServerCertificate struct {
	ID                 string            `json:"Id"`
	Name               string            `json:"Name"`
	Thumbprint         string            `json:"Thumbprint"`
	SignatureAlgorithm string            `json:"SignatureAlgorithm"`
	Links              map[string]string `json:"Links"`
}

type Sha1CertificateResult

type Sha1CertificateResult struct {
	Name string
	Type string // "Target", "Worker", or "Global"
}

Jump to

Keyboard shortcuts

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