finitestateinc/Finite State Third-Party Upload
Upload a third-party scan to the Finite State Platform for analysis.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| finite-state-client-id | Finite State API client ID. This must be provided by Finite State support team. | yes | — |
| finite-state-secret | Finite State API secret. This must be provided by Finite State support team. | yes | — |
| finite-state-organization-context | Organization context. This must be provided by Finite State support team. It looks like `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`. | yes | — |
| asset-id | Asset ID of the asset that the new version will belong to. | yes | — |
| version | Specify a name for the new asset version. | yes | — |
| file-path | Path to the file to be uploaded to the asset version. | yes | — |
| test-type | Test type. This must be one of the list of supported upload types. For the full list of supported upload types, review [this list.](https://docs.finitestate.io/supported-file-types). | yes | — |
| automatic-comment | Defaults to false. If it is true, it will generate a comment in the PR with the link to the Asset version URL in Finite State. | no | false |
| github-token | Token used to generate comment in a pr. Only required if automatic-comment input is true. | no | — |
| business-unit-id | (optional) Business Unit ID to assign to the new asset version. If not provided, the existing business unit belonging to the asset will be used. | no | — |
| created-by-user-id | (optional) Created By User ID to assign to the asset version. If not provided, the existing Created By User for the asset will be used. | no | — |
| product-id | (optional) Product ID to assign to the asset version. If not provided, the existing product for the asset will be used. | no | — |
| artifact-description | (optional) Description of the artifact being scanned (e.g. "Source Code Repository", "Container Image"). If not provided, the default artifact description will be used. | no | — |
Outputs
| name | description |
|---|---|
| response | Response from Finite State servers. |
| error | Error message or details on why the action failed. |
| asset-version-url | Finite State Binary Analysis URL for the uploaded file. |