Fortinet black logo
22.2.0

Bamboo

Bamboo

Paste the following code segment in the bamboo.yml file for a SAST scan.

— —
version: 2

plan:
project-key: MYAPP
name: Build the myapp
key: MYAPP

stages:
-scan the myapp stage:
jobs:
— Scan

Scan:
tasks:
– clean # To keep the working directory clean
-script:
– docker pull registry.fortidevsec.forticloud.com/fdevsec_sast:latest
– docker run --rm --mount type=bind,source=$PWD,target=/scan registry.fortidevsec.forticloud.com/fdevsec_sast:latest

Paste the following code segment in the bamboo.yml file for a DAST scan.

— —
version: 2

plan:
project-key: MYAPP
name: Build the myapp
key: MYAPP

stages:
-scan the myapp stage:
jobs:
— Scan

Scan:
tasks:
– clean # To keep the working directory clean
-script:
– docker pull registry.fortidevsec.forticloud.com/fdevsec_dast:latest
– docker run --rm --mount type=bind,source=$PWD,target=/scan registry.fortidevsec.forticloud.com/fdevsec_dast:latest

Bamboo

Paste the following code segment in the bamboo.yml file for a SAST scan.

— —
version: 2

plan:
project-key: MYAPP
name: Build the myapp
key: MYAPP

stages:
-scan the myapp stage:
jobs:
— Scan

Scan:
tasks:
– clean # To keep the working directory clean
-script:
– docker pull registry.fortidevsec.forticloud.com/fdevsec_sast:latest
– docker run --rm --mount type=bind,source=$PWD,target=/scan registry.fortidevsec.forticloud.com/fdevsec_sast:latest

Paste the following code segment in the bamboo.yml file for a DAST scan.

— —
version: 2

plan:
project-key: MYAPP
name: Build the myapp
key: MYAPP

stages:
-scan the myapp stage:
jobs:
— Scan

Scan:
tasks:
– clean # To keep the working directory clean
-script:
– docker pull registry.fortidevsec.forticloud.com/fdevsec_dast:latest
– docker run --rm --mount type=bind,source=$PWD,target=/scan registry.fortidevsec.forticloud.com/fdevsec_dast:latest