Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuditCheck ¶
type AuditReport ¶
type AuditReport struct {
SchemaVersion string `json:"schemaVersion"`
OK bool `json:"ok"`
Checks []AuditCheck `json:"checks"`
}
func Audit ¶
func Audit(packagePath string) (AuditReport, error)
func Replay ¶
func Replay(packagePath string) (AuditReport, error)
type Manifest ¶
type Manifest struct {
SchemaVersion string `json:"schemaVersion"`
PackageID string `json:"packageId"`
CreatedAt string `json:"createdAt"`
CreatedBy string `json:"createdBy"`
ResearchForgeVersion string `json:"researchForgeVersion"`
ProjectTitle string `json:"projectTitle,omitempty"`
Question string `json:"question,omitempty"`
MetaAnalysisSpineVersion string `json:"metaAnalysisSpineVersion"`
PackageRole string `json:"packageRole"`
ProjectManifestRef string `json:"projectManifestRef"`
SourcePlanRefs []string `json:"sourcePlanRefs,omitempty"`
LockfileRef string `json:"lockfileRef"`
LockfileRefs []string `json:"lockfileRefs,omitempty"`
ProvenanceRef string `json:"provenanceRef,omitempty"`
DedupeDecisionRef string `json:"dedupeDecisionRef,omitempty"`
ScreeningAuditRef string `json:"screeningAuditRef,omitempty"`
ExtractionSchemaRef string `json:"extractionSchemaRef,omitempty"`
AcceptedEvidenceRef string `json:"acceptedEvidenceRef,omitempty"`
ParserManifestRefs []string `json:"parserManifestRefs,omitempty"`
AnalysisArtifactRefs []string `json:"analysisArtifactRefs,omitempty"`
ReportRefs []string `json:"reportRefs,omitempty"`
RedactionReportRef string `json:"redactionReportRef"`
ChecksumManifestRef string `json:"checksumManifestRef"`
ReplayCommand string `json:"replayCommand"`
AuditCommand string `json:"auditCommand"`
Warnings []string `json:"warnings,omitempty"`
}
type Package ¶
type Package struct {
Manifest Manifest `json:"manifest"`
RedactionReport RedactionReport `json:"redactionReport"`
}
type RedactionItem ¶
type RedactionReport ¶
type RedactionReport struct {
SchemaVersion string `json:"schemaVersion"`
Policy string `json:"policy"`
Items []RedactionItem `json:"items"`
}
Click to show internal directories.
Click to hide internal directories.