app

package
v0.0.44 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiApplicationModule

type ApiApplicationModule string
const (
	ApiApplicationModuleFastapi ApiApplicationModule = "FASTAPI"
	ApiApplicationModuleGraphql ApiApplicationModule = "GRAPHQL"
	ApiApplicationModuleGrpc    ApiApplicationModule = "GRPC"
	ApiApplicationModuleSwagger ApiApplicationModule = "SWAGGER"
	ApiApplicationModuleK8S     ApiApplicationModule = "K8S"
)

func NewApiApplicationModuleFromString

func NewApiApplicationModuleFromString(s string) (ApiApplicationModule, error)

func (ApiApplicationModule) Ptr

type AppFingerprintAttemptInfo

type AppFingerprintAttemptInfo struct {
	Name     *AppFingerprintResourceModule `json:"name,omitempty" url:"name,omitempty"`
	Requests []*common.RequestInfo         `json:"requests,omitempty" url:"requests,omitempty"`
	Finding  bool                          `json:"finding" url:"finding"`
	// contains filtered or unexported fields
}

func (*AppFingerprintAttemptInfo) GetExtraProperties

func (a *AppFingerprintAttemptInfo) GetExtraProperties() map[string]interface{}

func (*AppFingerprintAttemptInfo) String

func (a *AppFingerprintAttemptInfo) String() string

func (*AppFingerprintAttemptInfo) UnmarshalJSON

func (a *AppFingerprintAttemptInfo) UnmarshalJSON(data []byte) error

type AppFingerprintConfig

type AppFingerprintConfig struct {
	Targets        []string                        `json:"targets,omitempty" url:"targets,omitempty"`
	Modules        []*AppFingerprintResourceModule `json:"modules,omitempty" url:"modules,omitempty"`
	ResourceType   AppFingerprintResourceType      `json:"resourceType" url:"resourceType"`
	Timeout        int                             `json:"timeout" url:"timeout"`
	SuccessfulOnly bool                            `json:"successfulOnly" url:"successfulOnly"`
	// contains filtered or unexported fields
}

func (*AppFingerprintConfig) GetExtraProperties

func (a *AppFingerprintConfig) GetExtraProperties() map[string]interface{}

func (*AppFingerprintConfig) String

func (a *AppFingerprintConfig) String() string

func (*AppFingerprintConfig) UnmarshalJSON

func (a *AppFingerprintConfig) UnmarshalJSON(data []byte) error

type AppFingerprintReport

type AppFingerprintReport struct {
	Targets []*AppFingerprintTargetInfo `json:"targets,omitempty" url:"targets,omitempty"`
	Config  *AppFingerprintConfig       `json:"config,omitempty" url:"config,omitempty"`
	Errors  []string                    `json:"errors,omitempty" url:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*AppFingerprintReport) GetExtraProperties

func (a *AppFingerprintReport) GetExtraProperties() map[string]interface{}

func (*AppFingerprintReport) String

func (a *AppFingerprintReport) String() string

func (*AppFingerprintReport) UnmarshalJSON

func (a *AppFingerprintReport) UnmarshalJSON(data []byte) error

type AppFingerprintResourceModule

type AppFingerprintResourceModule struct {
	Type                 string
	ApiApplicationModule ApiApplicationModule
	CloudBucketModule    CloudBucketModule
}

func NewAppFingerprintResourceModuleFromApiApplicationModule

func NewAppFingerprintResourceModuleFromApiApplicationModule(value ApiApplicationModule) *AppFingerprintResourceModule

func NewAppFingerprintResourceModuleFromCloudBucketModule

func NewAppFingerprintResourceModuleFromCloudBucketModule(value CloudBucketModule) *AppFingerprintResourceModule

func (*AppFingerprintResourceModule) Accept

func (AppFingerprintResourceModule) MarshalJSON

func (a AppFingerprintResourceModule) MarshalJSON() ([]byte, error)

func (*AppFingerprintResourceModule) UnmarshalJSON

func (a *AppFingerprintResourceModule) UnmarshalJSON(data []byte) error

type AppFingerprintResourceModuleVisitor

type AppFingerprintResourceModuleVisitor interface {
	VisitApiApplicationModule(ApiApplicationModule) error
	VisitCloudBucketModule(CloudBucketModule) error
}

type AppFingerprintResourceType

type AppFingerprintResourceType string
const (
	AppFingerprintResourceTypeApiapplication AppFingerprintResourceType = "APIAPPLICATION"
	AppFingerprintResourceTypeCloudbucket    AppFingerprintResourceType = "CLOUDBUCKET"
)

func NewAppFingerprintResourceTypeFromString

func NewAppFingerprintResourceTypeFromString(s string) (AppFingerprintResourceType, error)

func (AppFingerprintResourceType) Ptr

type AppFingerprintTargetInfo

type AppFingerprintTargetInfo struct {
	Target   string                       `json:"target" url:"target"`
	Attempts []*AppFingerprintAttemptInfo `json:"attempts,omitempty" url:"attempts,omitempty"`
	// contains filtered or unexported fields
}

func (*AppFingerprintTargetInfo) GetExtraProperties

func (a *AppFingerprintTargetInfo) GetExtraProperties() map[string]interface{}

func (*AppFingerprintTargetInfo) String

func (a *AppFingerprintTargetInfo) String() string

func (*AppFingerprintTargetInfo) UnmarshalJSON

func (a *AppFingerprintTargetInfo) UnmarshalJSON(data []byte) error

type CloudBucketModule

type CloudBucketModule string
const (
	CloudBucketModuleAwss3     CloudBucketModule = "AWSS3"
	CloudBucketModuleAzureblob CloudBucketModule = "AZUREBLOB"
)

func NewCloudBucketModuleFromString

func NewCloudBucketModuleFromString(s string) (CloudBucketModule, error)

func (CloudBucketModule) Ptr

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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