Forum Discussion
Jeff Walzer
Mar 31, 2020Iron Contributor
Can I use ASC Workflow automation to install Qualys agent?
We have the following recommendation in ASC - Enable the built-in vulnerability assessment solution on virtual machines (powered by Qualys) (Preview) - that has some VMs that need the agent. With...
- Mar 31, 2020
Yes. i just created a working sample here
Nicholas DiCola (SECURITY JEDI)
Apr 01, 2020Former Employee
yes but you need to create the workflow automation like this
here is the docs page https://docs.microsoft.com/en-us/azure/security-center/workflow-automation
Jeff Walzer
Apr 01, 2020Iron Contributor
@Nicholas DiCola (SECURITY JEDI
Sorry to be a pain, but I ran into an error as I turned on a VM and then checked the logic app and saw that it failed
{
"error": {
"code": "AuthenticationFailed",
"message": "Authentication failed. The 'Authorization' header is missing."
}
}
- Nicholas DiCola (SECURITY JEDI)Apr 01, 2020Former Employee
the template creates two api connection resources. you have to authorize them. go to the resource. click edit api connection. click authorize. login in the new window. click save.
- Jeff WalzerApr 01, 2020Iron Contributor
Nicholas DiCola (SECURITY JEDI)
API now authorized and when I do a 'Run Trigger' I get the following error message:
InvalidTemplate. Unable to process template language expressions in action 'Create_or_update_a_template_deployment' inputs at line '1' and column '3277': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#split for usage details.'.- Nicholas DiCola (SECURITY JEDI)Apr 01, 2020Former Employee
you cant just run trigger from logic apps as no data is passed to the ASC trigger step.
go to the recommendation in ASC and click run playbook. that will push the recommendation data to the trigger.