curl --request GET \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/data-source-name/{dataSourceName}{
"dataSource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "github",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"app": "github-radar",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"includeRepos": [
"*"
]
},
"externalId": "<string>",
"description": "<string>",
"encryptedCredentials": "<unknown>",
"isAutoScanEnabled": true,
"isDisconnected": false
}
}Get the specified GitHub Data Source by name and project ID.
curl --request GET \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/github/data-source-name/{dataSourceName}{
"dataSource": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"type": "github",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"app": "github-radar",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"includeRepos": [
"*"
]
},
"externalId": "<string>",
"description": "<string>",
"encryptedCredentials": "<unknown>",
"isAutoScanEnabled": true,
"isDisconnected": false
}
}The name of the GitHub Data Source to retrieve.
1The ID of the project the GitHub Data Source is located in.
1Default Response
Show child attributes
github Was this page helpful?