Documentation
¶
Index ¶
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 struct {
DetailedGuide string `yaml:"detailed-guide"`
CodeOfConduct string `yaml:"code-of-conduct"`
QuickstartGuide string `yaml:"quickstart-guide"`
ReleaseProcess string `yaml:"release-process"`
SignatureVerification string `yaml:"signature-verification"`
} `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"`
Release Release `yaml:"release"`
Documentation struct {
Contributing string `yaml:"contributing-guide"`
DependencyManagement string `yaml:"dependency-management-policy"`
Governance string `yaml:"governance"`
ReviewPolicy string `yaml:"review-policy"`
SecurityPolicy string `yaml:"security-policy"`
} `yaml:"documentation"`
}
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.