# Wildcard pattern not working for trusted applications

**URL:** <https://discuss.elastic.co/t/wildcard-pattern-not-working-for-trusted-applications/356437>\
**Category:** Kibana\
**Created:** [March 29, 2024, 4:09am UTC](https://discuss.elastic.co/t/wildcard-pattern-not-working-for-trusted-applications/356437 "2024-03-29T04:09:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Teja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna_teja/32/104976_2.png) [@Krishna\_Teja](https://discuss.elastic.co/u/Krishna_Teja)\
**Post date:** [March 29, 2024, 4:09am UTC](https://discuss.elastic.co/t/wildcard-pattern-not-working-for-trusted-applications/356437/1 "2024-03-29T04:09:25Z")

</div>

Hi

I was trying to add a trusted application to a policy. Adding full path works but the moment I change it to a wildcard pattern, it stops working  
Eg: `C:\Users\IEUser\Desktop\app.exe` works fine but `C:\Users\*\Desktop\app.exe` or `C:\Users\*\*\app.exe` or `C:\Users\*\app.exe` doesn't work as expected.

Here is the sample added

```auto
**OS IS Windows**
AND process.executable.caseless MATCHES C:\Users\*\Desktop\app.exe

```

I followed [this](https://www.elastic.co/guide/en/security/current/trusted-apps-ov.html) document. Is there something I'm doing wrong with adding the application?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 26, 2024, 4:10am UTC](https://discuss.elastic.co/t/wildcard-pattern-not-working-for-trusted-applications/356437/2 "2024-04-26T04:10:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
