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

Edited by 🤖 GitLab Bot 🤖