put https://api.socket.dev/v0/orgs//repos/labels//label-setting
Update the setting (e.g. security/license policy) for a repository label.
Note that repository label settings currently only support issueRules
and issueRulesPolicyDefault
. A policy is considered "active" for
a given repository label if the issueRulesPolicyDefault
is set,
and inactive when not set. issueRules
can be used to further
refine the alert triage strategy.
This endpoint consumes 1 unit of your quota.
This endpoint requires the following org token scopes:
- repo-label:update