@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
58 lines • 2 kB
JSON
{
"$id": "schema.json",
"type": "object",
"schema": "http://json-schema.org/draft-07/schema#",
"translate": true,
"dynamicfields": true,
"properties": {
"ph_request_type": {
"type": "string",
"description": "type of request (internal to adapter)",
"default": "secretScanningListAlertsForEnterprise",
"enum": [
"secretScanningListAlertsForEnterprise",
"secretScanningListAlertsForOrg",
"secretScanningListAlertsForRepo",
"secretScanningGetAlert",
"secretScanningUpdateAlert",
"secretScanningListLocationsForAlert",
"secretScanningCreatePushProtectionBypass"
],
"external_name": "ph_request_type"
},
"secretType": {
"type": "string",
"description": "A comma-separated list of secret types to return. By default all secret types are returned.\nSee \"[Supported secret scanning patterns](https://docs.github.com/code-securit...(description truncated)",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "secret_type"
},
"perPage": {
"type": "number",
"description": "The number of results per page (max 100). For more information, see \"[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-i...(description truncated)",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "per_page"
},
"alertNumber": {
"type": "number",
"description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `...(description truncated)",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "alert_number"
}
},
"definitions": {}
}