Parse the business logic scan limit variable as base 10
Summary
DUO_WORKFLOW_MAX_CONCURRENT_BL_SECURITY_SCANS_PER_GROUP is parsed with Integer(...), so a value with a leading zero is read as octal: 010 becomes 8.
Proposal
Pass an explicit base: Integer(ENV.fetch(NAME, default.to_s), 10, exception: false) || default, plus a spec for 010.
Context
- Raised by @mhamda in review of Cap concurrent business logic security scans pe... (!268212 - merged) (non-blocking).
- Kept out of that MR so its approval did not reset before the business logic scanning open beta.
Edited by 🤖 GitLab Bot 🤖