epml-spec / draft-ietf-patterns-protocol

Development of a patterns spec draft for patterns that define rules to match events
Other
0 stars 1 forks source link

Extended value patterns inventory #4

Open jsmorph opened 1 year ago

jsmorph commented 1 year ago

Here's an initial attempt at an inventory of various "extended" pattern matching capabilities. Look about right?

Extended pattern type Notes Implementations
string equality EB, ER, Q
number equality Representation challenges EB, ER, Q
Boolean equality EB, ER, Q
anything-but EB, ER, Q
exists EB, ER, Q
shellstyle Q
prefix EB, ER, Q
suffix Via shellstyle in Q EB, ER
wildcard Multiple * supported in EB, ER EB, ER
cidr EB, ER
"normal" $or EB, ER
"parallel" $or EB, ER
numeric inequalities EB, ER
numeric equality EB, ER

I broke out some types (like numeric and implicit equals) perhaps unnecessarily.

References

  1. EB: EventBridge docs
  2. Q: Quamina patterns
  3. ER: Event Ruler
baldawar commented 1 year ago

Couple of comments

Also, there are some additional reserved pattern names that can be included here as not supported by any https://github.com/aws/event-ruler/blob/main/src/main/software/amazon/event/ruler/Constants.java#L44.