<POST> Supply Chain Attacks
1 min
The Below parameters are for supply chain attacks. To know more about different input parameters and how to use API see AI/ML Supply Chain
Supply Chain Attacks
This api perform static assessment of files present in repos, local or s3 bucket for possible vulnerability
POST
https://api.aws.boschaishield.com/prod/api/ais/v1.5/supplychain
import requests
url = "https://api.aws.boschaishield.com/prod/api/ais/v1.5/supplychain"
payload = {"repo_type":"String","repo_url":"String","branch_name":"String","depth":"Integer","model_id":"String","aws_access_key_id":"String","aws_secret_access_key":"String","region":"String","bucket_name":"String"}
headers = {
'x-api-key': 'string',
'Org_id': 'string'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)