Skip to content
Back to skills

1530 Description Skill D4b76543

ASecurity

Dasel v3 patterns for querying Tomcat web.xml deployment descriptors — use when inspecting servlet enumeration, filter chain discovery, listener listing, context parameter extraction, or init-param inspection in web.xml files

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
devopsbashtestingsecurity

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 1530-description-skill_d4b76543 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 1530 Description Skill D4b76543?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 1530 Description Skill D4b76543
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-1530-description-skill-d4b76543/badge)](https://www.skillsdirectory.com/skills/tools-only-1530-description-skill-d4b76543)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
description: "Dasel v3 patterns for querying Tomcat web.xml deployment descriptors — use when inspecting servlet enumeration, filter chain discovery, listener listing, context parameter extraction, or init-param inspection in web.xml files"
---

# Tomcat web.xml Dasel Query Patterns

<when_to_use>

Load this skill when querying a `web.xml` deployment descriptor — enumerating servlets, inspecting filter chains, listing listeners, extracting context parameters, or finding servlets by init-param value.

</when_to_use>

Domain skill for querying Tomcat web.xml files using dasel v3. Always use `-i xml` explicitly. XML attributes use `-` prefix in dasel friendly mode.

## Servlet Discovery

```bash
# All servlet names
dasel -f web.xml -i xml 'web-app.servlet.map(servlet-name)'

# Count servlet definitions
dasel -f web.xml -i xml 'len(web-app.servlet)'
```

## Filter Chain Analysis

```bash
# Find filters by class pattern (e.g., Security filters)
dasel -f web.xml -i xml 'web-app.filter.filter(filter-class ~ ".*Security.*")'
```

Replace `Security` with any class name fragment.

## Listener Enumeration

```bash
# Count listener definitions
dasel -f web.xml -i xml 'len(web-app.listener)'
```

## Context Parameters

```bash
# All context-param names
dasel -f web.xml -i xml 'web-app.context-param.map(param-name)'
```

## Init Parameter Inspection

```bash
# Find servlets with a specific init-param name — filters parent collection by testing child length > 0
dasel -f web.xml -i xml 'web-app.servlet.filter(init-param.filter(param-name == "debug").len($this) > 0).map(servlet-name)'
```

Replace `"debug"` with the target param-name value.

All selectors require the full command prefix: `dasel -f web.xml -i xml '<selector>'`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.