# User created rules for Discovery and Coverage App

**URL:** <https://community.dynatrace.com/t/user-created-rules-for-discovery-and-coverage-app/51930>\
**Category:** Open Q&A\
**Tags:** discovery-coverage\
**Created:** [June 3, 2025, 8:17pm UTC](https://community.dynatrace.com/t/user-created-rules-for-discovery-and-coverage-app/51930 "2025-06-03T20:17:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mullaneyb](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Mullaneyb](https://community.dynatrace.com/u/Mullaneyb)\
**Post date:** [June 3, 2025, 8:17pm UTC](https://community.dynatrace.com/t/user-created-rules-for-discovery-and-coverage-app/51930/1 "2025-06-03T20:17:29Z")

</div>

Discovery and Coverage app has rules defined at the below url.

/ui/apps/dynatrace.classic.settings/ui/settings/app:dynatrace.discovery.coverage:discovery.findings.default.rules.schema

As a customer I want to add some custom rules for our environment however these are almost immediately deleted. The app states:  
_Discovery findings default rules. This schema is not subject to manual changes, except for Muted setting. Any changes (except muting the rule) will be overwritten by the Discovery & Coverage application defaults._

My particular use case here is we have “Required” tags i.e App Name and Environment for each Host/Pg/Service etc.

The following DQL would provide a coverage of hosts that are not compliant with having the appropriate tags.

```markup
fetch dt.entity.host, from:-15m  
| fieldsAdd tags
| fieldsAdd app = matchesPhrase(tags, "app:")    
| fieldsAdd host.id=id, compliant=(app == true)

```

As I cannot add a rule. I need another approach to signal that entities have been onboarded without the correct tagging metadata. I have this all in a notebook currently and am thinking of a metric event that alerts when the count is higher than zero, as a work around.
