TcM1911 / stix2

A pure Go library for working with Structured Threat Information Expression (STIX™) version 2.x data
BSD 2-Clause "Simplified" License
22 stars 6 forks source link

Add missing relationship types and fix COA helpers #49

Closed TcM1911 closed 2 years ago

TcM1911 commented 2 years ago

Add two missing relationship types. These were added late in the specification and was missed. Additionaly this fixes the helper functions for CoA to use the correct relationship types.

Fix #44 and #45.

codecov[bot] commented 2 years ago

Codecov Report

Merging #49 (f60b7f0) into master (7ad7ff1) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files          43       43           
  Lines        1982     1982           
=======================================
  Hits         1968     1968           
  Misses          7        7           
  Partials        7        7           
Impacted Files Coverage Δ
relationship.go 100.00% <ø> (ø)
course-of-action.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7ad7ff1...f60b7f0. Read the comment docs.