Added support in FCLI to accept an optional argument --ctrl-url which accepts the controller URL and in such cases the user input overrides the controller URL fetched from the SSC configurations.
SSC URL: http**** has enabled SC SAST and the Controller URL is http*****. FCLI detected the controller URL automatically without having the --ctrl-url argument. The SC SAST session login was successful.
SSC URL: http** has disabled SC SAST and FCLI could not read the SSC Configuration for the Controller URL, throws an error. The SC SAST session login fails.
SSC URL: http*** has disabled SC SAST. An Optional Argument for the Controller URL --ctrl-url was mentioned as http*. The SC SAST session login was successful as FCLI did not attempt to read the controller URL from the SSC Configurations.
Added support in FCLI to accept an optional argument --ctrl-url which accepts the controller URL and in such cases the user input overrides the controller URL fetched from the SSC configurations.
Example Command:
sc-sast session login --ssc-url="http**" --ctrl-url "http****" -u** -p -c***
Scenarios Tested: