Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(develop): release 1.2.4 #425

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

1.2.4 (2023-08-18)

⚠ BREAKING CHANGES

  • Restructure SSC commands
  • Refactoring & improve fcli util all-commands
  • fcli sc-dast scan start: Change short option names to lowercase for consistency (fixes fcli sc-dast scan start: Upper-case short options are not consistent with other fcli commands #325)
  • fcli sc-dast scan start: Remove --start-urls option; not supported on SC-DAST (fixes SC DAST API Doesn't allow for overriding startUrls so fcli should remove this option  #324)
  • Change --no-progress to --progress <type> (closes Change --no-progress to --progress <type> #305)
  • fcli ssc report-template generate-answerfile: Renamed to generate-config for consistency, changed option names
  • fcli ssc report-template create --anser-file: Rename to --config
  • fcli sc-dast scan list: Replace individual server-side query options with generic --server-query option for consistency with other commands and SSC/FoD modules
  • fcli sc-dast scan-settings list: Replace individual server-side query options with generic --server-query option for consistency with other commands and SSC/FoD modules
  • FoD: changes to a number of options to standardize arity (fixes fcli fod: Standardize option arity #268)
  • fcli ssc appversion * --attribute: Rename to --attributes for consistency; repeatable option accepting comma-separated list of attributes (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc appversion * --useradd: Rename to --add-users for consistency; repeatable option accepting comma-separated list of users (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc appversion * --userdel: Rename to --rm-users for consistency; repeatable option accepting comma-separated list of users (resolves fcli ssc: Standardize option arity #269)
  • fcli sc-dast scan start --start-url: Rename to --start-urls for consistency; repeatable option accepting comma-separated list of URLs (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc role create --permission-id: Rename to --permission-ids for consistency; repeatable option accepting comma-separated list of permission id's (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc appversion * --attribute: Rename to --attributes for consistency; repeatable option accepting comma-separated list of attributes (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc appversion * --useradd: Rename to --add-users for consistency; repeatable option accepting comma-separated list of users (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc appversion * --userdel: Rename to --rm-users for consistency; repeatable option accepting comma-separated list of users (resolves fcli ssc: Standardize option arity #269)
  • fcli sc-dast scan start --start-url: Rename to --start-urls for consistency; repeatable option accepting comma-separated list of URLs (resolves fcli ssc: Standardize option arity #269)
  • fcli ssc role create --permission-id: Rename to --permission-ids for consistency; repeatable option accepting comma-separated list of permission id's (resolves fcli ssc: Standardize option arity #269)
  • FoD: changes to a number of options to standardize arity (fixes fcli fod: Standardize option arity #268)
  • FoD: refactor fcli fod app creation commands (implements FoD: Refactor Application creation command(s) #266)
  • -q option now takes an SpEL expression; existing fcli invocations may need to be updated to use the new query format (resolves -q: Support additional operators #265, resolves fcli ssc appversion-artifact : -q should accept normal date format #172)
  • -o expr=... now evaluates expressions between curly braces using SpEL instead of JSONPath. Existing expressions with simple property references are not affected by this change, but more advanced JSONPath expressions will need to be rewritten to use SpEL instead.
  • The .jar version of fcli now requires Java 17 to run (previously Java 11 was required)
  • fcli ssc report-template generate-answerFile: Rename command to generate-answerfile for consistency
  • fcli ssc report-template generate-answerFile: Rename --force to --confirm for consistency
  • fcli ssc app delete: Rename --delete-versions to --confirm
  • fcli tool * install: Rename --replace-existing to --confirm
  • fcli tool * uninstall: Rename --confirm-uninstall to --confirm
  • Lookup and query values now use case-sensitive matching, to avoid inconsistent behavior with case-sensitive server-side matching and case-insensitive client-side matching (fixes Generic: Case-insensitive matching of option values #125, fixes fcli ssc attribute-definition list -> case sensitive? // MAC #185)
  • fcli sc-dast scan retry import-results: Rename to fcli sc-dast scan publish as this can also be used for initial publishing
  • fcli sc-dast scan retry import-findings: Rename to fcli sc-dast scan import-findings to reduce command tree depth
  • fcli config ssl truststore: Rename command tree to fcli config truststore
  • fcli state var: Restructure variable-related commands
  • fcli ssc appversion-artifact download: Move application version state download to separate fcli ssc appversion-artifact download-state command
  • fcli ssc appversion-artifact download: Add alias download-by-id to differentatie from download-state
  • fcli ssc appversion-artifact download: Change artifact id option to positional parameter
  • fcli ssc appversion-artifact import debricked: Rename command to fcli ssc appversion-artifact import-debricked
  • fcli ssc appversion-artifact purge by-id: Rename command to fcli ssc appversion-artifact purge-by-id
  • fcli ssc appversion-artifact purge by-date: Rename command to fcli ssc appversion-artifact purge-older-than
  • fcli ssc appversion-artifact purge by-date: Change --older-than option to positional parameter
  • fcli config: Change location of configuration files; you may need to manually clean up old configuration files and re-apply configuration settings like proxy and trust store (closes Move fcli configuration files #238)
  • fcli config var: Move location of variable data; you may need to manually clean up old variable state files and recreate any persisted variables (closes Move/rename tool installation metadata files #239)
  • fcli * session: Move location of session data; you may need to manually clean up old session state files and run fcli * session login again (closes Move/rename tool installation metadata files #239)
  • Cleanup: Easiest approach to clean up old configuration and state data is to delete the fcli data directory (usually /.fortify/fcli) before you start using this new fcli version
  • fcli config var: Move variable-related commands to fcli state var (closes Move fcli config variable commands to fcli util variable #237)
  • Environment: Rename FORTIFY_HOME and FCLI_HOME environment variables to FORTIFY_DATA_DIR and FCLI_DATA_DIR (closes Reconsider FORTIFY_HOME environment variable #248)
  • Remove support for predefined ? variables (resolves Common: Improve variable syntax #160)
  • Change syntax for referencing variables from {?var:prop} to ::var::prop (resolves Common: Improve variable syntax #160)

Features

  • -o expr=... now evaluates expressions between curly braces using SpEL instead of JSONPath. Existing expressions with simple property references are not affected by this change, but more advanced JSONPath expressions will need to be rewritten to use SpEL instead. (7f4a743)
  • -o json-properties now also outputs the type of each property for informational purposes (7f4a743)
  • -q option now takes an SpEL expression; existing fcli invocations may need to be updated to use the new query format (resolves #265, resolves #172) (7f4a743)
  • fcli * rest call: Add --no-paging and --transform options (af5867c)
  • fcli * rest call: Add support for taking file input for request body (closes #342) (f6e860d)
  • fcli * rest call: Apply generic transformations by default, add --no-transform option to disable tranformations (a0b022b)
  • fcli * session: Move location of session data; you may need to manually clean up old session state files and run fcli * session login again (closes #239) (a6d8b36)
  • fcli config clear: Add support for interactive confirmation (8459b8e)
  • fcli config clear: Clear only configuration data, not state data (a6d8b36)
  • fcli config ssl truststore: Rename command tree to fcli config truststore (e8bedf1)
  • fcli config var: Move location of variable data; you may need to manually clean up old variable state files and recreate any persisted variables (closes #239) (a6d8b36)
  • fcli config var: Move variable-related commands to fcli state var (closes #237) (a6d8b36)
  • fcli config: Change location of configuration files; you may need to manually clean up old configuration files and re-apply configuration settings like proxy and trust store (closes #238) (a6d8b36)
  • fcli sc-dast scan list: Replace individual server-side query options with generic --server-query option for consistency with other commands and SSC/FoD modules (11ef076)
  • fcli sc-dast scan retry import-findings: Rename to fcli sc-dast scan import-findings to reduce command tree depth (098a5f3)
  • fcli sc-dast scan retry import-results: Rename to fcli sc-dast scan publish as this can also be used for initial publishing (098a5f3)
  • fcli sc-dast scan start --start-url: Rename to --start-urls for consistency; repeatable option accepting comma-separated list of URLs (resolves #269) (caa8061)
  • fcli sc-dast scan start --start-url: Rename to --start-urls for consistency; repeatable option accepting comma-separated list of URLs (resolves #269) (f4a0a6e)
  • fcli sc-dast scan-settings list: Replace individual server-side query options with generic --server-query option for consistency with other commands and SSC/FoD modules (11ef076)
  • fcli ssc app delete: Add support for interactive confirmation (8459b8e)
  • fcli ssc app delete: Rename --delete-versions to --confirm (8459b8e)
  • fcli ssc appversion * --attribute: Rename to --attributes for consistency; repeatable option accepting comma-separated list of attributes (resolves #269) (caa8061)
  • fcli ssc appversion * --attribute: Rename to --attributes for consistency; repeatable option accepting comma-separated list of attributes (resolves #269) (f4a0a6e)
  • fcli ssc appversion * --useradd: Rename to --add-users for consistency; repeatable option accepting comma-separated list of users (resolves #269) (caa8061)
  • fcli ssc appversion * --useradd: Rename to --add-users for consistency; repeatable option accepting comma-separated list of users (resolves #269) (f4a0a6e)
  • fcli ssc appversion * --userdel: Rename to --rm-users for consistency; repeatable option accepting comma-separated list of users (resolves #269) (caa8061)
  • fcli ssc appversion * --userdel: Rename to --rm-users for consistency; repeatable option accepting comma-separated list of users (resolves #269) (f4a0a6e)
  • fcli ssc appversion get|list: Add embed functionality (faebf8a)
  • fcli ssc appversion-artifact download: Add alias download-by-id to differentatie from download-state (3d96cfd)
  • fcli ssc appversion-artifact download: Change artifact id option to positional parameter (3d96cfd)
  • fcli ssc appversion-artifact download: Move application version state download to separate fcli ssc appversion-artifact download-state command (3d96cfd)
  • fcli ssc appversion-artifact import debricked: Rename command to fcli ssc appversion-artifact import-debricked (3d96cfd)
  • fcli ssc appversion-artifact purge by-date: Change --older-than option to positional parameter (3d96cfd)
  • fcli ssc appversion-artifact purge by-date: Rename command to fcli ssc appversion-artifact purge-older-than (3d96cfd)
  • fcli ssc appversion-artifact purge by-id: Rename command to fcli ssc appversion-artifact purge-by-id (3d96cfd)
  • fcli ssc report-template create --anser-file: Rename to --config (a85b226)
  • fcli ssc report-template generate-answerFile: Add support for interactive confirmation (ec6df34)
  • fcli ssc report-template generate-answerFile: Rename --force to --confirm for consistency (ec6df34)
  • fcli ssc report-template generate-answerFile: Rename command to generate-answerfile for consistency (ec6df34)
  • fcli ssc report-template generate-answerfile: Renamed to generate-config for consistency, changed option names (a85b226)
  • fcli ssc role create --permission-id: Rename to --permission-ids for consistency; repeatable option accepting comma-separated list of permission id's (resolves #269) (caa8061)
  • fcli ssc role create --permission-id: Rename to --permission-ids for consistency; repeatable option accepting comma-separated list of permission id's (resolves #269) (f4a0a6e)
  • fcli state clear: Add support for interactive confirmation (8459b8e)
  • fcli state clear: New command to clear state data (a6d8b36)
  • fcli state var: Restructure variable-related commands (934d607)
  • fcli tool * install: Add option to warn instead of fail on digest mismatch (resolves #251) (08e8e26)
  • fcli tool * install: Add support for interactive confirmation (8459b8e)
  • fcli tool * install: Install latest version known to fcli by default, rather than 'latest' to avoid potential digest mismatches (resolves #251) (08e8e26)
  • fcli tool * install: Rename --replace-existing to --confirm (8459b8e)
  • fcli tool * list: Include information on what version will be installed by default (resolves #251) (08e8e26)
  • fcli tool * uninstall: Add support for interactive confirmation (8459b8e)
  • fcli tool * uninstall: Rename --confirm-uninstall to --confirm (8459b8e)
  • Add fcli fod release download-fpr command (a918cda)
  • Add fcli scm github-contributor list command (ceb3325)
  • Add fcli scm gitlab-contributor list command (81d0985)
  • Add fcli ssc appversion refresh-metrics command (fixes #335) (04ac595)
  • Add fcli util all-commands help command (ff8ede1)
  • Add fcli util crypto commands (a85b226)
  • Add fcli util msp-report commands (9982985)
  • Add fcli util ncd-report commands (a85b226)
  • Add fcli util sample-data commands (4b5215b)
  • Add FCLI_DEFAULT_* environment variable support for all positional parameters (closes #136) (67fcf85)
  • Add support for resolving default variable property using ::var:: syntax (resolves #160) (4021d35)
  • added sc-sast sensor list command (dfc930f)
  • added ssc user create command (7acc319)
  • Change --no-progress to --progress &lt;type&gt; (closes #305) (1431b49)
  • Change syntax for referencing variables from {?var:prop} to ::var::prop (resolves #160) (4021d35)
  • Cleanup: Easiest approach to clean up old configuration and state data is to delete the fcli data directory (usually <user-home>/.fortify/fcli) before you start using this new fcli version (a6d8b36)
  • Environment: Add support for FCLI_CONFIG_DIR and FCLI_STATE_DIR environment variables, allowing for example to have a shared config directory and private state directory (a6d8b36)
  • Environment: Rename FORTIFY_HOME and FCLI_HOME environment variables to FORTIFY_DATA_DIR and FCLI_DATA_DIR (closes #248) (a6d8b36)
  • FoD: fcli fod app create-web-app add option --auto-required-attrs to automatically set required attribute values (closes #311) (c32e604)
  • FoD: Add --filters-param option for specifying server-side query (acb6cf5)
  • FoD: add fcli fod scan start-mobile (implements #260) (266cf37)
  • FoD: Add fod sast-scan setup (implements #225) (f7d718d)
  • FoD: Add fod sast-scan setup (implements #225) (e556f1e)
  • FoD: Added functionality for user CRUD (implements #245) (818622a)
  • FoD: Added functionality for user group CRUD (implements #246) (818622a)
  • FoD: Automatically generate server-side query for simple SpEL expressions passed with the -q/--query option (acb6cf5)
  • FoD: refactor fcli fod app creation commands (implements #266) (2b9c453)
  • Refactoring & improve fcli util all-commands (c02dba7)
  • Remove support for predefined ? variables (resolves #160) (4021d35)
  • Restructure SSC commands (0076848)
  • SSC: Add --q-param option for specifying server-side query (497c4e5)
  • SSC: Automatically generate server-side query for simple SpEL expressions passed with the -q/--query option (497c4e5)
  • The .jar version of fcli now requires Java 17 to run (previously Java 11 was required) (8530999)

Bug Fixes

  • fcli * rest call: Fix --no-transform behavior (af5867c)
  • fcli fod scan-import import-oss using incorrect endpoint (0e2fc4f)
  • fcli sc-dast scan start: Change short option names to lowercase for consistency (fixes #325) (164802a)
  • fcli sc-dast scan start: Remove --start-urls option; not supported on SC-DAST (fixes #324) (c06d741)
  • fcli sc-dast session logout: Remove unused --expire-in option (option is only applicable for login command) (a0b022b)
  • fcli sc-sast session logout: Remove unused --expire-in option (option is only applicable for login command) (a0b022b)
  • fcli ssc appversion-artifact download: Include externalmetadata.xml in current state FPR download by passing arbitrary clientVersion parameter to SSC (fixes #257) (2694ffe)
  • fcli ssc report-template generate-answerFile: Add common options like --help (ec6df34)
  • fcli ssc report-template generate-answerFile: Generate proper command output (ec6df34)
  • fcli ssc session login: Show proper error message if no credentials provided (fixes #326) (30bc902)
  • fcli tool sc-client install: Add support for latest (22.2.1) version (38e93eb)
  • fcli tool sc-client install: Add support for version 23.1.0 (a637520)
  • fcli tool vuln-exporter install: Add support for latest (2.0.0) version (d7ccaea)
  • fcli tool vuln-exporter install: Add support for latest (2.0.1) version (9c34f73)
  • fcli tool vuln-exporter install: Add support for latest (2.0.2) version (e0ce21a)
  • fcli tool: Update and improve usage instructions (resolves #251) (08e8e26)
  • Allow fcli to run if trust store not found (d955323)
  • Alternative implementation for b1471ef (fixes #340) (e4f29c2)
  • Custom trust store ignored by native binaries (fixes #253) (a0af875)
  • Enable auto-completion on all options/parameters taking a file/directory (partial fix for #336 & #351) (b5559d3)
  • ensure name option consistency, fixes #184 (f97676f)
  • fix date function null and date handling, fixes #376 #377 (11a9c4c)
  • Fix Micronaut error on fcli -V (1c4794b)
  • Fix potential NPE in AbstractToolInstallCommand (348bd94)
  • Fix potential NPE in PagingHelper (18c3a22)
  • Fix StringOutOfBoundsException (fixes #332) (f4d4903)
  • fixed error on deletion of expired sessions, fixes #356 (bff794d)
  • fixed fcli variables expansion issue, fixes #394 (5ab9221)
  • fixed filtering on non-existing values not throwing an error, fixes #374 (4cd2e5d)
  • FoD & SC-DAST paging functionality (af5867c)
  • FoD: fcli fod app update remove microservices CRUD (fixes #282) (edea8d7)
  • FoD: fcli fod lookup-items (implements #361) (7409518)
  • FoD: fcli fod lookup-items (implements #361) (6cb9c4e)
  • FoD: fcli fod microservice create --skip-if-exists APP_NAME:MS_NAME fails (fixes #319) (adefa05)
  • FoD: fcli fod release create ... --microservice=XX fails (fixes #320) (adefa05)
  • FoD: fcli fod scan sast-scan 'N/A' columns (fixes #285) (4de3a53)
  • FoD: fcli fod scan setup-sast 'N/A' columns (531bda2)
  • FoD: fcli fod scan setup-sast interim fix for NullPointerException (partially fixes #278) (531bda2)
  • FoD: fcli fod scan start-mobile not recognising timezones (fixes #287) (656ca13)
  • FoD: fcli fod scan start-sast interim fix for entitlement-id (partially fixes #279) (4de3a53)
  • FoD: fcli scan start-mobile fails if entitlement-id specified (fixes #286) (74121fa)
  • FoD: changes to a number of options to standardize arity (fixes #268) (4a2412c)
  • FoD: changes to a number of options to standardize arity (fixes #268) (2b9c453)
  • FoD: Fix command usage headers (fixes #359) (6cb9c4e)
  • FoD: Refactor class names to represent commands (resolves #362) (c0e1781)
  • FoD: refactor scan commands to be under single entity (fixes #262) (266cf37)
  • FoD: Review fcli fod app create-*-app commands (resolves #367) (34d8a1d)
  • Improve handling of config changes during single Java/app run (8eafacd)
  • Improve handling of destination directories contain .. for tool * install commands (fixes #345) (b5559d3)
  • Incorrect behavior for ssc appversion --embed (fixes 401) (0f13ec8)
  • Lookup and query values now use case-sensitive matching, to avoid inconsistent behavior with case-sensitive server-side matching and case-insensitive client-side matching (fixes #125, fixes #185) (837791f)
  • Missing aliases on some commands, like ls on session list and tool list commands (640020e)
  • Output all contents in tree output (fixes #104) (f4f4f81)
  • Output all contents in tree output (fixes #104) (0a3de1b)
  • Patch for Autocompletion for positional parameters on ~ remkop/picocli#2068 (fixes #336) (071e19f)
  • Potential NullPointerException if expression passed to '-o expr=...' returns null (8508aaf)
  • Properly handle required options in exclusive ArgGroups (fixes #327) (e25638a)
  • Re-add fcli-thirdparty.zip to release assets (fixes #366) (e491d39)
  • Use Controller URL instead of SSC URL for Controller requests (fixes #353) (3ca3862)

Miscellaneous Chores


This PR was generated with Release Please. See documentation.

@rsenden rsenden closed this Aug 18, 2023
@rsenden rsenden deleted the release-please--branches--develop--components--fcli branch August 18, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment