TMA-GITLAB-2.3.2
Ensure steps have clearly defined build stage input and output
Mô tả
Define clear expected input and output for each build stage. In order to have more control over data flow in the build pipeline, clearly define the input and output of the pipeline steps. If anything malicious happens during the build stage, it will be recognized more easily and stand out as an anomaly.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
For each build stage, verify that the expected input and output are clearly defined. - On the left sidebar, select Code > Repository. - Review the .gitlab-ci.yml file to check if the build stage job input and output are clearly defined.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
For each build stage, clearly define what is expected for input and output. - On the left sidebar, select Code > Repository. - Ensure the .gitlab-ci.yml file has build stage job input and output clearly defined.
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- devsecopsgitlab
- Tham chiếu
- CIS GitLab Benchmark v1.0.1 - 2.3.2 Ensure steps have clearly defined build stage input and output