Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class
223 views

How to specify TC parameters on calls to API scanner

Hi,

I saw this from the Swagger documentation:

TCMacroParameters - override parameters defined in TruClient macros. The macros must exist in the scan settings and the parameters must exist in the macro. ("TCMacroParameters":{"mylogin":{"param1":"value1","param2":"value2"}})

I am not sure I am able to follow what "mylogin" string is in the above.

When I make an API request, I got an error - Macro with name 'mylogin' does not exist in the scan settings, so, there definitely is some intermediate step that I need to do.

I could see the MyPasswordParameter which I configured within my login macro being prompted at the time of starting a Basic Website Scan from within the WebInspect GUI. So, I know the parameter setup is correctly done.

0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.