Skip to content

Commit

Permalink
Change step signature to make externalreferences a list of references (
Browse files Browse the repository at this point in the history
…#113)

Co-authored-by: kroskinskiis <ivo.kroskinski@tno.nl>
  • Loading branch information
xncz8h and ivokroskinski authored Apr 4, 2024
1 parent 6f8c791 commit b83767d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/docs/soarca-extensions/fin-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The message is used to register a fin to SOARCA. It has the following payload.
|type |action |string |Action type
|name |name |string |message id
|description |description |string |Description of the step
|external_references|<references> |[external reference](https://docs.oasis-open.org/cacao/security-playbooks/v2.0/cs01/security-playbooks-v2.0-cs01.html#_Toc152256542) |References to external recourses to further enhance the step also see CACAO V2 10.9.
|external_references|<references> |list of [external reference](https://docs.oasis-open.org/cacao/security-playbooks/v2.0/cs01/security-playbooks-v2.0-cs01.html#_Toc152256542) |References to external recourses to further enhance the step also see CACAO V2 10.9.
|command |command |string |Command to execute
|target |UUID |string |Target UUID cto execute command against

Expand Down
12 changes: 6 additions & 6 deletions models/fin/fin.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ type Capability struct {

// Step structure as example to the executor
type Step struct {
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
ExternalReferences cacao.ExternalReferences `json:"external_references"`
Command string `json:"command"`
Target string `json:"target"`
Type string `json:"type"`
Name string `json:"name"`
Description string `json:"description"`
ExternalReferences []cacao.ExternalReferences `json:"external_references"`
Command string `json:"command"`
Target string `json:"target"`
}

// Unregister command structure
Expand Down

0 comments on commit b83767d

Please sign in to comment.