action snyk_update_project_settings { label: "Update project settings" description: "" provider: snyk method: PUT path: "/org/{orgId}/project/{projectId}/settings" encoding: json input: { type: "object" properties: { autoDepUpgradeEnabled: { type: "boolean" description: "If set to `true`, Snyk will raise dependency upgrade PRs automatically." } autoDepUpgradeIgnoredDependencies: { type: "array" description: "An array of comma-separated strings with names of dependencies you wish Snyk to ignore to upgrade." items: { type: "object" } } autoDepUpgradeLimit: { type: "number" description: "The limit on auto dependency upgrade PRs." } autoDepUpgradeMinAge: { type: "number" description: "The age (in days) that an automatic dependency check is valid for" } autoRemediationPrs: { type: "object" description: "Defines automatic remediation policies" properties: { backlogPrsEnabled: { type: "boolean" description: "If true, allows automatic remediation of newly identified issues, or older issues where a fix has been identified" } freshPrsEnabled: { type: "boolean" description: "If true, allows automatic remediation of prioritized backlog issues" } usePatchRemediation: { type: "boolean" description: "If true, allows using patched remediation" } } } orgId: { type: "string" } projectId: { type: "string" } pullRequestAssignment: { type: "object" description: "assign Snyk pull requests" properties: { assignees: { type: "array" description: "an array of usernames that have contributed to the organization's project(s)." items: { type: "object" } } enabled: { type: "boolean" description: "if the organization's project(s) will assign Snyk pull requests." } type: { type: "string" description: "a string representing the type of assignment your projects require." enum: ["auto", "manual"] } } } pullRequestFailOnAnyVulns: { type: "boolean" description: "If set to `true`, fail Snyk Test if the repo has any vulnerabilities. Otherwise, fail only when the PR is adding a vulnerable dependency." } pullRequestFailOnlyForHighSeverity: { type: "boolean" description: "If set to `true`, fail Snyk Test only for high and critical severity vulnerabilities" } pullRequestTestEnabled: { type: "boolean" description: "If set to `true`, Snyk Test checks PRs for vulnerabilities.:cq" } } required: ["orgId", "projectId"] additionalProperties: false } output: { type: "object" additionalProperties: true } }