{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Updates a code scanning default setup configuration.\n\nOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"body":{"$ref":"#/definitions/code-scanning-default-setup-update"}},"required":["path","body"],"additionalProperties":false,"definitions":{"code-scanning-default-setup-update":{"description":"Configuration for code scanning default setup.","type":"object","properties":{"state":{"description":"The desired state of code scanning default setup.","type":"string","enum":["configured","not-configured"]},"runner_type":{"description":"Runner type to be used.","type":"string","enum":["standard","labeled"]},"runner_label":{"description":"Runner label to be used if the runner type is labeled.","type":["string","null"],"examples":["code-scanning"]},"query_suite":{"description":"CodeQL query suite to be used.","type":"string","enum":["default","extended"]},"threat_model":{"description":"Threat model to be used for code scanning analysis. Use `remote` to analyze only network sources and `remote_and_local` to include local sources like filesystem access, command-line arguments, database reads, environment variable and standard input.","type":"string","enum":["remote","remote_and_local"]},"languages":{"description":"CodeQL languages to be analyzed.","type":"array","items":{"type":"string","enum":["actions","c-cpp","csharp","go","java-kotlin","javascript-typescript","python","ruby","swift"]}}},"additionalProperties":false}}},"name":"Update a code scanning default setup configuration","id":"github.code-scanning.update-default-setup","example":{"path":{"owner":"octocat","repo":"hello-world"},"body":{}},"maxRequests":1,"summary":false}}