Azure DevOps - Nexus IQ Extension issue with scan Targets for Java Maven


I have created Java Maven pipeline using YAML.

Wherein i am using Nexus IQ Extension 1.2.1 for Nexus IQ Policy Evaluation

below is the Task in my pipeline -

- task:
displayName: ‘Nexus IQ Policy Evaluation’
nexusIqService: $(Serviceconnection.Nexus.IQ.Name)
applicationId: $(appname_nexus_lc)
scanTargets: '**/
.jar, **/.war, **/.ear, **/*.tar.gz’

Nexus IQ is unable to scan targets in the Azure DevOps -> Java Build Pipeline.

I have also tried with giving scan targets as below-

scanTargets : ‘$(Build.ArtifactsStagingDirectory)/**/*.war’’

Also with hard coded values scanTargets is unable to scan the Artifacts.

any ideas.

I believe this is related,, copying the response from there:

The ability to scan the Artifacts Staging Directory is on the list of improvements we’d like to add to the Azure DevOps extension. The team rotates investment through our portfolio of integrations and there isn’t any planned work on Azure DevOps, however, when we circle back to it we will entertain how to fulfill this. Thanks for the idea.