f5devcentral / f5-corkscrew

TMOS parser and application extractor
Apache License 2.0
13 stars 3 forks source link

[RFE] add asm/waf details #24

Closed DumpySquare closed 1 year ago

DumpySquare commented 1 year ago

Looking to see details about how many ASM policies and what virtual servers they are applied to. This output would be added to the config viewer in the vscode extension.

If we can export the policy somehow, that would be a bonus.

DumpySquare commented 1 year ago

research:

https://community.f5.com/t5/technical-forum/asm-policy-list-active-inactive-policies-view-v-13/td-p/197952 tmsh list asm policy virtual-servers | grep none -B1 | grep policy tmsh list asm policy inactive active virtual-servers

https://community.f5.com/t5/technical-forum/script-to-list-all-the-asm-policies-and-how-many-vs-are-having/td-p/245787 tmsh list /asm policy virtual-servers

DumpySquare commented 1 year ago

initially this feature will just include high level asm/waf policy details, like number, names, and associations so we can scope the size of asm/waf configurations. Whatever details we can find within a typical ucs/qkview

The process to actually export the policy is outside the realm of these archives and this tool at this time.

details to get;

DumpySquare commented 1 year ago

i found that the virtual server directly references the the asm profile prefaced with "ASM_". Initial digging of asm complete for pending v1.0.0 release.