MC generates Error "No definition found in this context for: 'condition=XXXXXXXXXXXXX' tenant:XXXXXX"
search cancel

MC generates Error "No definition found in this context for: 'condition=XXXXXXXXXXXXX' tenant:XXXXXX"

book

Article ID: 371280

calendar_today

Updated On:

Products

Management Center - VA Cloud Secure Web Gateway - Cloud SWG ProxySG Software - SGOS ISG Proxy

Issue/Introduction

MC generates errors when policies are pushed from the MC to the Cloud SWG (formerly WSS):

No definition found in this context for: 'condition=XXXXXXXXXXXXX' tenant:XXXXXX
Circularly defined condition: 'XXXXXXXXXXX'

Environment

- Cloud SWG (formerly WSS) policies are managed by MC Universal VPM Policy 
- CPL Fragment is used under CPL layer
- Object defined in the VPM is used under the CPL fragment

Cause

The error conditions are triggered when rule with VPM object is being disabled, and CPL fragments still referring to the same VPM object.
MC is pushing VPM objects (conditions) which are used in the rules, and does not include unused objects.

Resolution

Add missing conditions to the CPL fragment in the MC's shared object menu.

Additional Information

To find affected policy fragment:
- use Preview feature under relevant Universal VPM Policy Object -> Targets.
- search for condition(s) mentioned in the error. 


Alternatively, affected policy fragment can be found in active policy file downloaded from Cloud SWG management console.  
The same issue may occur with Edge SWG.