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

Add Message structure #370

Merged
merged 2 commits into from
Nov 4, 2020
Merged

Add Message structure #370

merged 2 commits into from
Nov 4, 2020

Conversation

davaya
Copy link
Contributor

@davaya davaya commented Oct 8, 2020

This proposal addresses Issue #353.

The Message structure shown here supersedes and replaces the examples shown in the issue.

@dlemire60
Copy link
Contributor

I support this change.

patconnole pushed a commit to patconnole/openc2-yuuki that referenced this pull request Oct 28, 2020
This commit replaces the command message of action/target/args/etc
to a full message with the headers baked in. This is from
Dave Kemps latest pull request to the language spec, here:
oasis-tcs/openc2-oc2ls#370

It also adds the Byte Header to MQTT payloads, from the latest
OpenC2 MQTT spec here:
https://github.com/oasis-tcs/openc2-transf-mqtt/blob/working/transf-mqtt-v1.0.md

from:
{action: deny, target:...}

to:
{headers:..., body: {...action:.., target:..}
@sparrell sparrell merged commit f7c0849 into oasis-tcs:working Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants