fossa_build_component
Start an asynchronous build for an already-uploaded component or SBOM, creating a FOSSA project and revision with assigned metadata, and queue analysis.
Instructions
Start an asynchronous build of a component that was already uploaded to a signed URL.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true.
This creates a project and a revision in the organization, assigns the policy, team, labels, and release group given, and queues analysis. Get the upload URL from fossa_get_component_upload_url first and PUT the file to it; this tool only starts the build. Non-premium organizations may only import SBOMs. force_rebuild re-analyzes a revision FOSSA has already built.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | No | ||
| team | No | ||
| title | No | ||
| branch | No | ||
| labels | No | ||
| policy | No | ||
| revision | Yes | ||
| file_type | No | ||
| policy_id | No | ||
| dependency | No | ||
| description | No | ||
| project_url | No | ||
| package_spec | Yes | ||
| force_rebuild | No | ||
| release_group | No | ||
| jira_project_key | No | ||
| selected_team_ids | No | ||
| selected_team_names | No | ||
| release_group_release | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||