QuestionQ39

VerifiedDevSecOps Pipeline-Operate and Monitor Stage

Matt LeBlanc works as a DevSecOps engineer at an IT company that builds software and web applications for clients around the world. His team is currently developing a Ruby on Rails application, and Matt has set up Bundler-Audit within Travis CI so the team receives alerts about security issues and the need to fix them.

Which Travis CI feature should Matt use so that CI runs on a regular, scheduled basis and notifies the team whenever Bundler-Audit fails?

Explanation

Travis CI provides a Cron Jobs feature that triggers builds at regular scheduled intervals (daily, weekly, or monthly), independent of new commits or pull requests. This is essential for security tooling like Bundler-Audit, since new vulnerabilities in a project's dependencies (gems) can be disclosed at any time, not just when code changes are pushed. By scheduling a cron build, Travis CI periodically re-runs the build (and the Bundler-Audit check within it) against the latest commit on a branch, and if Bundler-Audit detects a vulnerability the build fails and the team is alerted through Travis CI's standard build-failure notifications. 'BUNDLER-AUDIT', 'FAIL', and 'ALERT' are not actual named features of Travis CI.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!