default_setup
Overview
| Name | default_setup |
| Type | Resource |
| Id | github.code_scanning.default_setup |
Fields
| Name | Datatype | Description |
|---|---|---|
languages | array | Languages to be analysed. |
query_suite | string | CodeQL query suite to be used. |
schedule | string | The frequency of the periodic analysis. |
state | string | Code scanning default setup has been configured or not. |
updated_at | string | Timestamp of latest configuration update. |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_default_setup | SELECT | owner, repo | Gets a code scanning default setup configuration. You must use an access token with the repo scope to use this endpoint with private repos or the public_reposcope for public repos. GitHub Apps must have the repo write permission to use this endpoint. |
update_default_setup | EXEC | owner, repo, data__state | Updates a code scanning default setup configuration. You must use an access token with the repo scope to use this endpoint with private repos or the public_reposcope for public repos. GitHub Apps must have the repo write permission to use this endpoint. |