Credential less discovery failing with an error "Identification Engine: Discovery status is FAILURE,Identification sections in pattern failed: section: discovery, error: Match step predicate is not matched"Issue When running the Credential less discovery , pattern gives the below error <output>{"status" : "FAILED","message" : "Identification sections in pattern failed: section: discovery, error: Match step predicate is not matched. ","log" : "H4sIAAAAAAAAAN1YXW/aShB9v1L/wwr1gahbBCbQhJcqNbS11BAU6MNVmq4We4BV7F13dx1Ko/z3\nu16wTRJo07QmuXnBeL9m5pyZ2RlfvfgHoQqnEVRQB1W6TPniEuQCfRLTCraTSlOdKDs96p0ee/2j\nkXfSX036MxYGEng6fYau0rH18wYS0IBqDZKj3nfwE80EX241y1hgF8USSLxcRCBbRJQvWazztWta\nDD+7bm84zKdCuIQwnXGykQiUolNQN7Qqxu0pTt2pv64fvHbeoEaz47Q7rVYHfQCtGZ8ioxJaqYRy\nlVBANUVT4CCphgCNF2ipZK2ylHCNf0eWAn2ktWTjREN1JpROUXOpAvxJzEEi3/zdy4xMETBmSqYX\nS6J67z5/+HOxk28BP4UpfMdfq2dfa+ev9r58qVWrbzv2xfzfe7Ucflm2JmomkjDwuB8mAXRFRBnH\nExqWD0GKPAkyvyexkFphx8FOE7ea+KCOG803uNFu4P39Fm4dHtifNj7c36+XrVoWFDLhmkVAIhEA\nngnJfgiuaXg/8eg8iwq9iJeS+yf9np0udCtCdggh+DYIssCdCLk9eI3CefDaM3YbsCsdO8iVEICB\niYah2YOKRNYHPRfyAnXhkvnw10jB9xRYDkm5v26C+06W3panb2R+q21hxrraW5lc57KJbwN6m80H\nhaY3wI1Dp9ZoH9Qah42a46wB+jNIb3L8+yw/LA2UqJEvoojyAH80oOQslSZ6q3dLUEmozbaSBOeJ\nBqUpr4PqKFL3lpWH0XogDUe9ARn9O+htiv3c/98zbm50UBr1j48GKKLan62MfaRQeCwkBiJOQl On the Agent.log ,below error can be seen 08/31/20 11:16:51 (756) Worker-Interactive:HorizontalDiscoveryProbe-19ed2858c0cbd0103944859050360c3c WARNING *** WARNING *** Error while setting attribute. : JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Find best NMAP match result' at line 5608/31/20 11:16:09 (479) PowerConsole-f1ad2490c80fd0103944aaee6d1d0743>stderr DEBUG: STDERR: New-PSSession : [000.000.000.00] Connecting to remote server 000.000.000.00 failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.08/31/20 11:16:09 (479) PowerConsole-f1ad2490c80fd0103944aaee6d1d0743>stderr DEBUG: STDERR: At line:1 char:108/31/20 11:16:09 (479) PowerConsole-f1ad2490c80fd0103944aaee6d1d0743>stderr DEBUG: STDERR: + New-PSSession -ConnectionUri http://000.000.000.00:0000/wsman -Authen ...08/31/20 11:16:09 (479) PowerConsole-f1ad2490c80fd0103944aaee6d1d0743>stderr DEBUG: STDERR: + ReleaseOrlando Patch1Cause Due to File missing on the Nmap directory the discovery fails with an error "Identification Engine: Discovery status is FAILURE,Identification sections in pattern failed: section: discovery, error: Match step predicate is not matched"ResolutionUninstall and reinstall the Nmap as per the below Document will fix the issue https://docs.servicenow.com/csh?topicname=install-nmap-on-mid-server.html&version=latest#install-nmap-on-mid-server On a self-hosted system For Setting up the parameters in the NmapInstallation.ps1 ,Go to Agent\scripts\PowerShell\NmapInstallation.ps1 Open the PS1 file with PowershellISE and enter in below format Save the File and Continue following the below Document.Related LinksNOTE: Perform the above task in Sub-Prod instance first and check before moving to prod.