Using tfsec and Jenkins to Secure Your Terraform Code

preview_player
Показать описание
Need help with your Jenkins questions?

Timecodes ⏱:

00:00 Introduction
00:10 Overview
00:29 Starting point
01:01 Review tfsec documentation
01:33 Review sample repository
03:24 Create job
06:04 Run job again
07:01 Why use a static analysis scanner for your Terraform code?

#jenkinstutorial #tfsec #terraform

Information referenced in this video:

Sample repository:

Jenkins LTS 2.289.3

CloudBees on Twitter:

Darin on Twitter:
Рекомендации по теме
Комментарии
Автор

How to show a report of this terraform script scan result on Jenkins, like we display report of build using Junit

mohammadraghib
Автор

Hello, thank you for the video!
I am using tfsec in Jenkins by pulling docker image but when I run the command (docker run --rm -v "$WORKSPACE/:/src" aquasec/tfsec:latest /src) it succeeds but says there are no problems found, meanwhile if I run the same command locally it finds problems!! Also the path of tf files is correct. Do you think of any possible solution? Thanks in advance.

vehbirestelica
Автор

Does that help passing sensitive variables on Terraform Apply? I never understood how you do that without vars file.

jampietri
welcome to shbcf.ru