Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STIX Patterning needs to support basic dictionary operations #60

Open
treyka opened this issue Jan 25, 2018 · 2 comments
Open

STIX Patterning needs to support basic dictionary operations #60

treyka opened this issue Jan 25, 2018 · 2 comments

Comments

@treyka
Copy link

treyka commented Jan 25, 2018

function description
isin isin(x,y) [Is a key present in the dictionary?]
@gtback
Copy link

gtback commented Jan 26, 2018

Can this be a new operator like CONTAINSKEY or HASKEY?

@jordan2175
Copy link

We talked about this on 2019-06-05. We currently have dictionaries in STIX objects and we have no way to look inside them. HTTP Headers is a dictionary, but you can not check if a specific HTTP Header exists. This is looking at the dictionary key. You can not check to see if a certain key is in the dictionary. This is a gap in patterning right. We think this should be done in 2.1. But we need to find someone to implement this in the spec.

@jordan2175 jordan2175 modified the milestones: 2.1-csd02-wd05, unknown Jul 8, 2019
@jordan2175 jordan2175 removed this from the unknown milestone Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants