Documentation ¶
Index ¶
- func GetAssembler(ctx context.Context, childLogger *zap.SugaredLogger, graphqlEndpoint string, ...) func([]assembler.IngestPredicates) (*helpers.AssemblerIngestedIDs, error)
- func GetCollectSubEmit(ctx context.Context, csubClient csub_client.Client) func([]*parser_common.IdentifierStrings) error
- func GetIngestor(ctx context.Context, scanForVulns bool, scanForLicense bool, scanForEOL bool, ...) ...
- func GetProcessor(ctx context.Context) func(*processor.Document) (processor.DocumentTree, error)
- func Ingest(ctx context.Context, d *processor.Document, graphqlEndpoint string, ...) (*helpers.AssemblerIngestedIDs, error)
- func MergedIngest(ctx context.Context, docs []*processor.Document, graphqlEndpoint string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssembler ¶
func GetAssembler( ctx context.Context, childLogger *zap.SugaredLogger, graphqlEndpoint string, transport http.RoundTripper, ) func([]assembler.IngestPredicates) (*helpers.AssemblerIngestedIDs, error)
func GetCollectSubEmit ¶
func GetCollectSubEmit(ctx context.Context, csubClient csub_client.Client) func([]*parser_common.IdentifierStrings) error
func GetIngestor ¶
func GetIngestor(ctx context.Context, scanForVulns bool, scanForLicense bool, scanForEOL bool, scanForDepsDev bool) func(processor.DocumentTree) ([]assembler.IngestPredicates, []*parser_common.IdentifierStrings, error)
func GetProcessor ¶
func Ingest ¶
func Ingest( ctx context.Context, d *processor.Document, graphqlEndpoint string, transport http.RoundTripper, csubClient csub_client.Client, scanForVulns bool, scanForLicense bool, scanForEOL bool, scanForDepsDev bool, ) (*helpers.AssemblerIngestedIDs, error)
Synchronously ingest document using GraphQL endpoint
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
ingest_predicates
ingest_predicates is a parser that is generally unsafe due to the fact that it does not validate the facts that it is emiting without a backing attestations.
|
ingest_predicates is a parser that is generally unsafe due to the fact that it does not validate the facts that it is emiting without a backing attestations. |
vuln
Package vuln attestation parser parses the attestation defined by by the certifier using the predicate type "https://in-toto.io/attestation/vulns/v0.1" Three different types of ingest predicates are created.
|
Package vuln attestation parser parses the attestation defined by by the certifier using the predicate type "https://in-toto.io/attestation/vulns/v0.1" Three different types of ingest predicates are created. |
Click to show internal directories.
Click to hide internal directories.