Enforce that field names are not repeated across risk objects as part of build/validate

Open
#347 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devtools

Research direction

Start by locating the build/validate entry points and the existing runtime testing check for repeated fields in risk and threat objects. Trace how validators report invalid objects, then make duplicate field names fail validation and confirm the behavior through the relevant tests.

Written by the indexing model from the issue text.

Description

  • For risk and threat objects, we expect each field to be used for a single entry, not multiple
  • We check against this at runtime during testing, but it could be enforced by validators as well
Dominant language
Python
Stars
139
Forks
52
Avg merge
1h 16m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from splunk/contentctl

All issues in splunk/contentctl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.