How do I run multiple commands?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

How do I run multiple commands?

L0 Member

How do I run these commands with one command/automation?? (instead of one by one manually)

 

!taskComplete id=7
!taskComplete id=33 input=no
!taskComplete id=138 input=Spam
!taskComplete id=237 input=Spam
/incident_set phishingcategory=Spam incidentcategory="CAT 7 - Non Incident"
!closeInvestigation closeReason=Resolved closeNotes=Spam

1 REPLY 1

L5 Sessionator

I would do this with SLI.

 

You get a .yaml template for the command mass_ssh which allows you to input a list of CLI commands and the script will auto-run on the ngfw. 


So whatever that yaml file is would be how you can run it on an NGFW at once. Bonus points with mass_ssh being, you could do this on all NGFWs at once, if you wanted. 

Help the community! Add tags and mark solutions please.
  • 2301 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!