StackStorm / StackStorm/st2

Need to validate the action Param using JSON Schema format - RFC 5322, section 3.4.1, RFC 2373, section 2.2, etc...

Open
#3,784 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

Inside the action.yaml file I have one parameter which accepts IP address and I need to validate it against the ipv6 format. Currently I am not able to validate it using the format tag.

parameters:
ip_address:
type: "object"
additionalProperties: false
properties:
ipv6:
type: "string"
format: "ipv6"

Contributor guide

Open the contributing guide

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.

Research direction

Start with the action.yaml parameter definition shown in the issue and trace how StackStorm validates action parameters and their format values. Confirm how IPv6 input is currently handled, then make the ipv6 format usable and verify that valid and invalid IPv6 values are distinguished by the relevant validation checks.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.