feat: Add enforce_ci_inbound_job_token_scope_enabled to Settings
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
This update introduces a boolean field called EnforceCIInboundJobTokenScopeEnabled to the Settings and UpdateSettingsOptions structs, allowing administrators to enable or disable this security feature through the API. A new test was also added to verify that the setting is properly included in API requests when updated.
Edited by 🤖 GitLab Bot 🤖