Skip to content

fcli fod sast-scan start is overriding FoD UI configured Scan Policy. #1095

Description

@kadraman

Current Behavior

With the implementation of FoD 26.3 there is a new Scan Policy settings that can be configured via the UI or via the API to one of the following values: "Security, DevOps, Classic or FoD(Legacy)". If a user selects "Security" for example in the FoD UI and then a scan is initiated via fcli, github-actions or similar integration, then "Security" settings is not kept - it is overriden/reset back to "FoD(Legacy)"

Expected Behavior

The value of this field should not be changed unless we have explicitly requested it as part of initiating the scan.

Note: this is not available as an option to the fcli fod sast-scan start but will be added. Even when it is added though, if no parameter is specific we should probably still retrieve the server side value and pass it through the /start-scan-with-default API call.

Steps To Reproduce

No response

Environment

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingeffort:lowEasy to implement/fixenhancementNew feature or requestfcli-fodIssue related to 'fcli fod' commandsprio:highHigh priority; important new feature or bug fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions