Do you perform nightly builds with automated regression and security test to quickly detect problems with recent builds?

ID

esf_s3c_dev/night_builds

Severity

low

Category

Levels

Optional

false

Tags

security, supply-chain, testing

Rationale

To ensure the integrity and quality of the development process, nightly builds should be performed that include manual and automated security and regression tests. Test cases should be implemented during the design of the software and extended during coding to validate all areas of functionality for both “good” and “bad” scenarios. Using this process, any flaws or changes, whether malicious or inadvertent, can be recognized and addressed.

Verification

The check looks for a scheduled pipeline in an hourly time range, that runs a build or compile command.

Please note that other checks verify the execution of security tools of specific types in the pipelines..

Remediation

It is a standard practice to define a nightly build process for daily compiling and testing the software, and when possible to run security analyses to identify known vulnerabilities, secrets leaks, misconfigurations in the build/deployment tools or potential code tampering, etc.