cURL
curl --request POST \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/{dataSourceId}/scan{
"dataSource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"includeRepos": [
"*"
]
},
"externalId": "<string>",
"description": "<string>",
"encryptedCredentials": null,
"isAutoScanEnabled": true,
"isDisconnected": false
}
}GitHub
Scan
Trigger a scan for the specified GitHub Data Source.
POST
/
api
/
v2
/
secret-scanning
/
data-sources
/
github
/
{dataSourceId}
/
scan
cURL
curl --request POST \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/{dataSourceId}/scan{
"dataSource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"includeRepos": [
"*"
]
},
"externalId": "<string>",
"description": "<string>",
"encryptedCredentials": null,
"isAutoScanEnabled": true,
"isDisconnected": false
}
}Was this page helpful?
⌘I