Help us shape the future of Go! Take the 2026 Go Developer Survey

reachable

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package reachable implements reachability tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationLayerTest

type ApplicationLayerTest struct {
	reachability.BaseTest
}

ApplicationLayerTest checks if the vulnerability is in the application layer vs infrastructure.

func NewApplicationLayerTest

func NewApplicationLayerTest() *ApplicationLayerTest

NewApplicationLayerTest creates a new test.

func (*ApplicationLayerTest) Evaluate

Evaluate runs the test.

type CloudDeployedTest

type CloudDeployedTest struct {
	reachability.BaseTest
}

CloudDeployedTest checks if the vulnerable container/image is actually deployed.

func NewCloudDeployedTest

func NewCloudDeployedTest() *CloudDeployedTest

NewCloudDeployedTest creates a new test.

func (*CloudDeployedTest) Evaluate

Evaluate runs the test.

type DependencyImportedTest

type DependencyImportedTest struct {
	reachability.BaseTest
}

DependencyImportedTest checks if the vulnerable package is imported.

func NewDependencyImportedTest

func NewDependencyImportedTest() *DependencyImportedTest

NewDependencyImportedTest creates a new test.

func (*DependencyImportedTest) Evaluate

Evaluate runs the test.

type DependencyUsedTest

type DependencyUsedTest struct {
	reachability.BaseTest
}

DependencyUsedTest checks if vulnerable code is actually called.

func NewDependencyUsedTest

func NewDependencyUsedTest() *DependencyUsedTest

NewDependencyUsedTest creates a new test.

func (*DependencyUsedTest) Evaluate

Evaluate runs the test.

type DirectDependencyTest

type DirectDependencyTest struct {
	reachability.BaseTest
}

DirectDependencyTest checks if the vulnerable package is a direct dependency.

func NewDirectDependencyTest

func NewDirectDependencyTest() *DirectDependencyTest

NewDirectDependencyTest creates a new test.

func (*DirectDependencyTest) Evaluate

Evaluate runs the test.

type ExposedByAPITest

type ExposedByAPITest struct {
	reachability.BaseTest
}

ExposedByAPITest checks if vulnerable code is reachable from API endpoints.

func NewExposedByAPITest

func NewExposedByAPITest() *ExposedByAPITest

NewExposedByAPITest creates a new test.

func (*ExposedByAPITest) Evaluate

Evaluate runs the test.

type PublicRepositoryTest

type PublicRepositoryTest struct {
	reachability.BaseTest
}

PublicRepositoryTest checks if the vulnerable component is in a public repository.

func NewPublicRepositoryTest

func NewPublicRepositoryTest() *PublicRepositoryTest

NewPublicRepositoryTest creates a new test.

func (*PublicRepositoryTest) Evaluate

Evaluate runs the test.

Jump to

Keyboard shortcuts

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