@itentialopensource/adapter-github
Version:
This adapter integrates with system described as: github.
92 lines • 2.85 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": "dependabotListAlertsForEnterprise",
"enum": [
"dependabotListAlertsForEnterprise",
"dependabotListAlertsForOrg",
"dependabotListOrgSecrets",
"dependabotGetOrgPublicKey",
"dependabotGetOrgSecret",
"dependabotCreateOrUpdateOrgSecret",
"dependabotDeleteOrgSecret",
"dependabotListSelectedReposForOrgSecret",
"dependabotSetSelectedReposForOrgSecret",
"dependabotAddSelectedRepoToOrgSecret",
"dependabotRemoveSelectedRepoFromOrgSecret",
"dependabotListAlertsForRepo",
"dependabotGetAlert",
"dependabotUpdateAlert",
"dependabotListRepoSecrets",
"dependabotGetRepoPublicKey",
"dependabotGetRepoSecret",
"dependabotCreateOrUpdateRepoSecret",
"dependabotDeleteRepoSecret"
],
"external_name": "ph_request_type"
},
"packageParam": {
"type": "string",
"description": "A comma-separated list of package names. If specified, only alerts for these packages will be returned.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "package"
},
"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"
},
"secretName": {
"type": "string",
"description": "The name of the secret.",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "secret_name"
},
"repositoryId": {
"type": "number",
"description": "",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "repository_id"
},
"alertNumber": {
"type": "number",
"description": "The number that identifies a Dependabot alert in its repository.\nYou can find this at the end of the URL for a Dependabot alert within GitHub,\nor in `number` fields in th...(description truncated)",
"parse": false,
"encode": false,
"encrypt": {
"type": "AES",
"key": ""
},
"external_name": "alert_number"
}
},
"definitions": {}
}