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

Extension support #40

Closed TcM1911 closed 3 years ago

TcM1911 commented 3 years ago

This PR adds support for extensions as defined in the specification. It also includes handling for custom fields and objects that has been deprecated as part of STIX 2.1.

Fixes #15 and #12.

codecov[bot] commented 3 years ago

Codecov Report

Merging #40 (333e78b) into master (9d881db) will increase coverage by 1.24%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   98.04%   99.29%   +1.24%     
==========================================
  Files          42       43       +1     
  Lines        1742     1981     +239     
==========================================
+ Hits         1708     1967     +259     
+ Misses         17        7      -10     
+ Partials       17        7      -10     
Impacted Files Coverage Δ
artifact.go 92.59% <100.00%> (+0.28%) :arrow_up:
as.go 100.00% <100.00%> (ø)
attack.go 100.00% <100.00%> (ø)
campaign.go 100.00% <100.00%> (ø)
course-of-action.go 100.00% <100.00%> (ø)
data-types.go 100.00% <100.00%> (+11.11%) :arrow_up:
directory.go 100.00% <100.00%> (ø)
dns.go 100.00% <100.00%> (ø)
email.go 100.00% <100.00%> (ø)
extension.go 100.00% <100.00%> (ø)
... and 34 more

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 9d881db...333e78b. Read the comment docs.