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

Parameter --login-macro #502

Open
janskyview opened this issue Jan 12, 2024 · 2 comments
Open

Parameter --login-macro #502

janskyview opened this issue Jan 12, 2024 · 2 comments
Assignees
Labels
effort:medium Medium effort needed to implement/fix prio:medium Medium priority

Comments

@janskyview
Copy link

Supposing trying to start a scan with this command line:

fcli sc-dast scan start --login-macro='zerologin.webmacro' --mode='CrawlAndAudit' --name='Test Scan from CLI'

Output error expects an integer at --login-macro parameter, I suppose there's a repository of webmacros to create and then give the id as the parameter's value.

Assuming this is the right path, where do you create such a repo of webmacro using ScanCentralDAST from Software Security Center Web GUI?
I've looked into the documentation but I haven't found anything about webmacros' repository.
Sorry if this is the wrong place to post this.
Thank you.

@janskyview
Copy link
Author

I was informed today by a Microfocus employee that --login-macro parametre simply does not work and should not be used.
Instead use parameter
-s, --settings=
and give the scan setting's id as value.
So you should go the other way around, configure a scan settings from SSC, attach a login macro to the settings, note down the id and call fcli with the above parameter.
Hope it helps.

@rsenden
Copy link
Contributor

rsenden commented Jan 30, 2024

Thanks for the info. We'll do some more research on this topic and implement any required fcli changes, like documenting the above in the fcli usage help.

@rsenden rsenden added prio:medium Medium priority effort:medium Medium effort needed to implement/fix labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:medium Medium effort needed to implement/fix prio:medium Medium priority
Projects
None yet
Development

No branches or pull requests

3 participants