Forum Discussion
F5 ASM - Using API to merge policies and itemfilter
I am trying to use the ASM API - /mgmt/tm/asm/tasks/policy-merge to merge 2 ASM Policies. In the JSON payload, there is an itemFilter section that allows to merge only certain items from the policy. I only want to merge urls, parameters, file types, and geo_locations. Does anyone know what syntax I would use to filter for those in the itemFilter in the JSON below?
POST
{
"policyDiffReference": {"link": "https://localhost/mgmt/tm/asm/policy-diffs/<policyid>"},
"addMissingEntitiesToFirst": true,
"addMissingEntitiesToSecond": true,
"handleCommonEntities": "ignore",
"handleMissingEntitiesEnum": ["ignore", "accept-from-first",
"accept-from-second"],
"itemFilter": " "
}
Recent Discussions
Related Content
* 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