Notifications

47 views

Description

After upgrading to Madrid release, ActiveDirectory PS module returns one more pair of square brackets by "ConvertTo-Json" introduced in PRB1273432.

For example, when testing input using QueryAD activity, if the result is empty, the output in London release is []
in Madrid, the output is [[]]

As a result, any activity post processing or condition that's built on '[]' will start failing after upgrade to Madrid.

Steps to Reproduce

On any London instance, try testing input of activity "Query AD", put in search filter like samaccountname=testtest, the output should be []
In Madrid, do the same, the output will be [[]].

This can also be verified in ECC > Queue.

In London, run Query AD, check ecc, we get:
<![CDATA[[{"...

In Madrid, we get:
<![CDATA[[[{"...

Workaround

If you are able to upgrade, review the "Intended Fix Version" section below below to determine the versions that have a permanent fix.

If upgrade is not possible, you can use below workaround.

(Please note: once an out of box script is changed, it will be skipped during platform upgrade.

Then you can either manually revert it to OOB after platform upgrade, or follow below doc to force it to be overwritten during platform upgrade:

Overwrite customizations during an upgrade

)


In MID Server > Script Files > activedirectory.psm1, change below
Write-Host -NoNewline "<![CDATA[[$json]]]>";
to
Write-Host -NoNewline "<![CDATA[$json]]>";

(removed one pair of [])


Related Problem: PRB1365752

Seen In

SR - IRM - Audit Management - New York 2019 Q3
SR - IRM - Audit Management PA Content - Madrid 2019 Q1
SR - IRM - GRC Profiles - Madrid 2019 Q2
SR - IRM - GRC Workbench - New York 2019 Q3
SR - IRM - PA Premium Integration - New York 2019 Q3
SR - IRM - Policy and Compliance - Madrid 2019 Q2
SR - IRM - Policy and Compliance PA Content - Madrid 2019 Q1
SR - IRM - Risk Management - New York 2019 Q3
SR - IRM - Risk Management PA Content - Madrid 2019 Q1
SR - ITOM - Discovery and Service Mapping - v1.0.35
SR - Security - Integration Framework - Madrid 2019 Q2
SR - Security - Support Orchestration - Madrid 2019 Q2
SR - SIR - Security Incident Response - Madrid 2019 Q2
SR - SIR - Splunk Sighting Search Integration - Madrid 2019 Q1
SR - SIR - Store SecOps Setup Assistant - Madrid 2019 Q2
SR - SIR - Store Threat Core - Madrid 2019 Q2
SR - SIR - Store Trusted Security Circles Client - New York 2019 Q3

Fixed In

Paris

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-08-06 21:41:13
Published:2020-08-07