How to Use Prancer CLI to Upload Findings to Pensuite AI
You can utilize Prancer CLI to seamlessly upload external finding results to Pensuite AI. Ensure that your finding file adheres to the correct JSON format, as demonstrated below:
[
{
<key-value pair object>
...
}
]
To upload your findings using the PAC CLI, use the following command:
prancer-pac uploadlog -i <customerId> -t <token> --productLine <productline> --PRODUCT <product> --uid <uid> --file <path/to/file>
Here's a breakdown of the parameters:
Parameter | Description |
---|---|
customerId | Customer ID for tenant connection |
token | User access token for authentication and access to the tenant |
productLine | Product line name |
product | Name of the product |
uid | Unique identity of the uploaded file |
file | Local path to the file to be uploaded |