Documentation
¶
Index ¶
- Constants
- type AdditionalFields
- type Detectors
- type Elements
- type EmailReport
- type Extra
- type Parent
- type Paths
- type Result
- type Results
- type Scanner
- type ScannerWithEmail
- type Semgrep
- type SemgrepReport
- type Slither
- type SlitherReport
- type SourceMapping
- type TestSSL
- type TestSSLReport
- type TypeSpecificFields
Constants ¶
View Source
const TestSSLName = "testssl"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdditionalFields ¶
type Detectors ¶
type Detectors struct {
Elements []Elements `json:"elements"`
Description string `json:"description"`
Markdown string `json:"markdown"`
FirstMarkdownElement string `json:"first_markdown_element"`
Id string `json:"id"`
Check string `json:"check"`
Impact string `json:"impact"`
Confidence string `json:"confidence"`
}
type Elements ¶
type Elements struct {
Type string `json:"type"`
Name string `json:"name"`
SourceMapping SourceMapping `json:"source_mapping"`
TypeSpecificFields TypeSpecificFields `json:"type_specific_fields"`
AdditionalFields `json:"additional_fields,omitempty"`
}
type EmailReport ¶
type Parent ¶
type Parent struct {
Type string `json:"type"`
Name string `json:"name"`
SourceMapping SourceMapping `json:"source_mapping"`
TypeSpecificFields `json:"type_specific_fields,omitempty"`
}
type ScannerWithEmail ¶
type Semgrep ¶
type Semgrep struct{}
Semgrep https://hub.docker.com/r/returntocorp/semgrep docker images for semgrep - Lightweight static analysis for many languages. TODO move timeout time to struct.
type SemgrepReport ¶
type Slither ¶
type Slither struct{}
Slither https://hub.docker.com/r/trailofbits/slither Official testssl.sh docker image. Check SSL/TLS ciphers, protocols, cryptographic flaws + much more. TODO move timeout time to struct.
type SlitherReport ¶
type SourceMapping ¶
type SourceMapping struct {
Start int `json:"start"`
Length int `json:"length"`
FilenameUsed string `json:"filename_used"`
FilenameRelative string `json:"filename_relative"`
FilenameAbsolute string `json:"filename_absolute"`
FilenameShort string `json:"filename_short"`
IsDependency bool `json:"is_dependency"`
Lines []int `json:"lines"`
StartingColumn int `json:"starting_column"`
EndingColumn int `json:"ending_column"`
}
type TestSSL ¶
type TestSSL struct{}
TestSSL https://hub.docker.com/r/drwetter/testssl.sh/tags Official testssl.sh docker image. Check SSL/TLS ciphers, protocols, cryptographic flaws + much more. TODO move timeout time to struct.
func (TestSSL) ExecuteForEmail ¶
type TestSSLReport ¶
type TypeSpecificFields ¶
type TypeSpecificFields struct {
Parent struct {
Type string `json:"type"`
Name string `json:"name"`
SourceMapping SourceMapping `json:"source_mapping"`
} `json:"parent"`
Signature string `json:"signature"`
}
Click to show internal directories.
Click to hide internal directories.