You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fcli-core/fcli-app/src/main/resources/com/fortify/cli/app/actions/build-time/ci-doc.yaml
+92-42Lines changed: 92 additions & 42 deletions
Original file line number
Diff line number
Diff line change
@@ -263,10 +263,10 @@ formatters:
263
263
vars:
264
264
- names: TOOL_DEFINITIONS
265
265
desc: >-
266
-
URL or file path to custom tool definitions YAML file. This fcli environment variable controls
267
-
where fcli retrieves tool version information for ScanCentral Client, Debricked CLI, and other
268
-
tools. Useful for air-gapped environments or when using custom tool repositories. When set,
269
-
fcli will use the specified tool definitions instead of downloading from the default GitHub location.
266
+
Supporting tools like ScanCentral Client or Debricked CLI are by default downloaded from the URLs
267
+
defined in the link:https://github.com/fortify/tool-definitions/tree/main/v1[default Fortify tool definitions].
268
+
For airgapped environments, point this environment variable to an internally hosted custom tool definitions zip
269
+
file to download these tools from an internal mirror.
270
270
fod:
271
271
- title: Authentication & Connection
272
272
fragment: session
@@ -586,7 +586,9 @@ formatters:
586
586
component: fortifySetup
587
587
version: v2.1.x
588
588
overview: |
589
-
These environment variables control tool installation and initialization.
589
+
The environment variables in this section allow you to customize bootstrapping behavior
590
+
of fcli and supporting tools like ScanCentral Client. Note that this GitHub Action requires
591
+
at least fcli v3.15.0 to function correctly.
590
592
outputs:
591
593
setup:
592
594
filePattern: setup-action.adoc
@@ -596,7 +598,31 @@ formatters:
596
598
title: fortify/github-action/setup
597
599
description: Bootstrap fcli and Fortify tools for custom CI/CD workflows.
598
600
overview: |
599
-
This GitHub Action provides a setup component that bootstraps fcli and other Fortify tools for use in custom CI/CD workflows. This allows you to implement fully customized AST scan workflows or other automation workflows that interact with Fortify products.
601
+
The `fortify/github-action/setup` action allows for setting up fcli and various other Fortify tools for use in custom CI/CD workflows.
602
+
This allows you to implement fully customized AST scan workflows or other automation workflows that interact with Fortify products.
603
+
604
+
The Fortify tools to be installed are specified through action inputs, whereas optional bootstrapping behavior for fcli and supporting
605
+
tools can be controlled through environment variables.
606
+
607
+
## Migrating from fortify/github-action/setup@v2
608
+
609
+
The `fortify/github-action/setup@v3` action supports the same action inputs as v2.x.y versions, so migrating should be straightforward.
610
+
However, bootstrapping behavior for fcli has changed; please review the following table for details:
611
+
612
+
[cols="1,1,2", options="header"]
613
+
|===
614
+
|fortify/github-action/setup@v2
615
+
|fortify/github-action/setup@v3
616
+
|Recommended Action
617
+
618
+
|Undocumented `fcli: action_default` input to use internal, pinned fcli version
619
+
|Documented `fcli: bootstrapped` input to use bootstrapped fcli version
620
+
|Use `fcli: bootstrapped` to leverage bootstrapped fcli version based on `FCLI_BOOTSTRAP_*` environment variables, to avoid download of multiple fcli versions
621
+
622
+
|Uses `TOOL_DEFINITIONS` for fcli bootstrapping
623
+
|Uses dedicated `FCLI_BOOTSTRAP_*` environment variables for fcli bootstrapping
624
+
|If you used custom tool definitions with custom fcli download URLs, you'll need to configure `FCLI_BOOTSTRAP_URL` to point to the appropriate URL
625
+
|===
600
626
samples:
601
627
quickstart:
602
628
title: Quick Start Example
@@ -611,13 +637,17 @@ formatters:
611
637
steps:
612
638
- uses: actions/checkout@v4
613
639
- uses: fortify/github-action/setup@v3
640
+
with:
641
+
fcli: bootstrapped # Set up bootstrapped fcli version. May also specify specific version, but
642
+
# then fcli may be downloaded twice (bootstrap version and requested version).
643
+
614
644
env:
615
-
FCLI_BOOTSTRAP_VERSION: v3.5.0 # Pin to specific version for stability
645
+
FCLI_BOOTSTRAP_VERSION: v3.15.0 # Defaults to latest v3.x.y, pin to specific version for stability
616
646
- name: Run custom fcli commands
617
647
run: |
618
-
fcli fod session login
648
+
fcli fod session login ...
619
649
# Your custom workflow here
620
-
fcli fod session logout
650
+
fcli fod session logout ...
621
651
ciDocs:
622
652
filePattern: ast-action-{product}.adoc
623
653
formatter: ciSystemFullDoc
@@ -626,20 +656,44 @@ formatters:
626
656
title: fortify/github-action
627
657
description: Run OpenText Application Security Testing (AST) scans in GitHub Actions workflows
628
658
overview:
629
-
fod: |
630
-
This GitHub Action provides seamless integration of ${productNames.fod}
631
-
for automated Application Security Testing (AST) into your CI/CD
632
-
workflows. The action leverages the ciOutputRef:setup action to set up
633
-
fcli, then executes the fcli actionRef:generic:ci action to run the requested scans and
634
-
related tasks, providing a unified yet customizable experience across your AST scan workflows
635
-
on GitHub and other CI systems.
636
-
ssc: |
637
-
This GitHub Action provides seamless integration of ${productNames.ssc}
659
+
shared: |
660
+
This GitHub Action provides seamless integration of $eval{fortifyProductName}
638
661
for automated Application Security Testing (AST) into your CI/CD
639
662
workflows. The action leverages the ciOutputRef:setup action to set up
640
663
fcli, then executes the fcli actionRef:generic:ci action to run the requested scans and
641
664
related tasks, providing a unified yet customizable experience across your AST scan workflows
642
665
on GitHub and other CI systems.
666
+
667
+
## Migrating from fortify/github-action@v2
668
+
669
+
Migrating from v2.x.y to v3.x.y versions of the `fortify/github-action` should be fairly
670
+
straightforward, as most of the environment-based configuration remains the same. However,
671
+
there are some important changes to be aware of:
672
+
673
+
[cols="1,1,2", options="header"]
674
+
|===
675
+
|fortify/github-action@v2
676
+
|fortify/github-action@v3
677
+
|Recommended Action
678
+
679
+
|Pinned to specific fcli release
680
+
|Uses latest fcli v3.x.y release by default
681
+
|Set `FCLI_BOOTSTRAP_VERSION` if you prefer stability over latest features
682
+
683
+
|Uses action inputs to specify scan types (e.g., `sast-scan: true`)
0 commit comments