Documentation
¶
Index ¶
- type Assessment
- type Assessments
- type Attestation
- type Contact
- type Docs
- type FileAPIResponse
- type Header
- type Integration
- type License
- type Link
- type Project
- type Release
- type Repo
- type Repository
- type Results
- type SIBuilder
- type SIHeader
- type SecurityInfo
- type SecurityInsights
- type Tool
- type VulnReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assessment ¶
type Assessments ¶
type Assessments struct {
Self Assessment `yaml:"self"`
ThirdParty []Assessment `yaml:"third-party"`
}
type Attestation ¶
type FileAPIResponse ¶
type Integration ¶
type Project ¶
type Project struct {
Name string `yaml:"name"`
Homepage string `yaml:"homepage"`
Roadmap string `yaml:"roadmap"`
Funding string `yaml:"funding"`
Administrators []Contact `yaml:"administrators"`
Repositories []Repo `yaml:"repositories"`
Vulnerability VulnReport `yaml:"vulnerability-reporting"`
Documentation Docs `yaml:"documentation"`
}
type Release ¶
type Release struct {
AutomatedPipeline bool `yaml:"automated-pipeline"`
DistributionPoints []Link `yaml:"distribution-points"`
Changelog string `yaml:"changelog"`
License License `yaml:"license"`
Attestations []Attestation `yaml:"attestations"`
}
type Repository ¶
type Repository struct {
Status string `yaml:"status"`
URL string `yaml:"url"`
AcceptsChangeRequest bool `yaml:"accepts-change-request"`
AcceptsAutomatedChangeRequest bool `yaml:"accepts-automated-change-request"`
BugFixesOnly bool `yaml:"bug-fixes-only"`
NoThirdPartyPackages bool `yaml:"no-third-party-packages"`
CoreTeam []Contact `yaml:"core-team"`
License License `yaml:"license"`
Security SecurityInfo `yaml:"security"`
Documentation Docs `yaml:"documentation"`
Release Release `yaml:"release"`
}
type Results ¶
type Results struct {
Adhoc Attestation `yaml:"adhoc"`
CI Attestation `yaml:"ci"`
Release Attestation `yaml:"release"`
}
type SIBuilder ¶
type SIBuilder struct {
TargetSI SecurityInsights
ParentSI SecurityInsights
}
type SecurityInfo ¶
type SecurityInfo struct {
Assessments Assessments `yaml:"assessments"`
Champions []Contact `yaml:"champions"`
Tools []Tool `yaml:"tools"`
}
type SecurityInsights ¶
type SecurityInsights struct {
Header Header `yaml:"header"`
Project Project `yaml:"project"`
Repository Repository `yaml:"repository"`
}
func Read ¶
func Read(owner, repo, path string) (si SecurityInsights, err error)
type VulnReport ¶
type VulnReport struct {
ReportsAccepted bool `yaml:"reports-accepted"`
BugBountyAvailable bool `yaml:"bug-bounty-available"`
BugBountyProgram string `yaml:"bug-bounty-program"`
Contact Contact `yaml:"contact"`
Comment string `yaml:"comment"`
SecurityPolicy string `yaml:"security-policy"`
PGPKey string `yaml:"pgp-key"`
InScope []string `yaml:"in-scope"`
OutOfScope []string `yaml:"out-of-scope"`
}
Click to show internal directories.
Click to hide internal directories.