Re: Integration issues with CounterAct
[ Edited ]
Member
Posts: 16
Registered: ‎04-26-2018
Member
Posts: 16

Kevin,

 

Still getting an error "Invalid variable P:discovered_data".

 

In the FS_Asset file where is has this:

 

{
            "name": "check_For_Discovery_Information",
            "operation": "CONDITION",
            "condition": {
                "condition_type": "AND",
                "statements": [{"left": "$P::discovered_data}","op": "!=","right": ""}],
                "eval": "${XC:COPY:{L:discovered_data}:{P:discovered_data}}",
                "else_eval": "${XC:ASSIGN:{L:discovered_data}:{S:.}}"
            }

 

 

I added an opening parenthesis before the P to change [{"left": "$P::discovered_data}","op": "!=","right": ""}] to [{"left": "${P::discovered_data}","op": "!=","right": ""}]

 

 

{
            "name": "check_For_Discovery_Information",
            "operation": "CONDITION",
            "condition": {
                "condition_type": "AND",
                "statements": [{"left": "${P::discovered_data}","op": "!=","right": ""}],
                "eval": "${XC:COPY:{L:discovered_data}:{P:discovered_data}}",
                "else_eval": "${XC:ASSIGN:{L:discovered_data}:{S:.}}"
            }

 

 

Now able to add a Fixed Address or Host in IPAM and have it flow to ForeScout.  I have included the working FS_ASSET file.

 

 

 

V/r

 

 

Marc