Skip to main content

default_setup

Overview

Namedefault_setup
TypeResource
Idgithub.code_scanning.default_setup

Fields

NameDatatypeDescription
languagesarrayLanguages to be analysed.
query_suitestringCodeQL query suite to be used.
schedulestringThe frequency of the periodic analysis.
statestringCode scanning default setup has been configured or not.
updated_atstringTimestamp of latest configuration update.

Methods

NameAccessible byRequired ParamsDescription
get_default_setupSELECTowner, repoGets 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_repo
scope for public repos. GitHub Apps must have the repo write permission to use this endpoint.
update_default_setupEXECowner, repo, data__stateUpdates 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_repo
scope for public repos. GitHub Apps must have the repo write permission to use this endpoint.