Forum Discussion
richkingly_1410
Altostratus
Jan 16, 2015Calling a TMSH Command in iCall
Hi, I'm new to iApps/iCall and was wondering if anyone could help please? I make use of a very specific ASM report which I can get via TMSH with the following command: send-mail analytics ap...
richkingly_1410
Altostratus
Jan 16, 2015Thanks mikeshimkus, I think that might help - I'll try to work out if I can get the specific report I need using the create API syntax.
I had another idea of using the tcl "exec" command to call my TMSH command:
exec tmsh send-mail analytics application-security report view-by attack-type measures { } drilldown { { entity policy values { /my_partition/vs-mysite } } { entity severity values { Critical } } { entity violation values { "Attack signature detected" } } } range now-1w format pdf email-addresses { me@company.com }
It's a little messy but does the job. The problem is that tcl doesn't like to execute it - I think I need to work out a way of escaping all the characters etc. that it doesn't like. No luck so far though!
Any ideas?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects