Skip to content

Conversation

@invisig0th
Copy link
Contributor

No description provided.

@invisig0th invisig0th changed the base branch from master to synapse-3xx December 23, 2025 20:00
@codecov
Copy link

codecov bot commented Dec 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.70%. Comparing base (1c01b15) to head (c3ae69b).

Additional details and impacted files
@@             Coverage Diff              @@
##           synapse-3xx    #4631   +/-   ##
============================================
  Coverage        96.70%   96.70%           
============================================
  Files              254      254           
  Lines            60762    60762           
============================================
  Hits             58759    58759           
  Misses            2003     2003           
Flag Coverage Δ
linux 96.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

('referrer', ('doc:referrer', {}), {
'doc': 'The source which contains the reference.'}),

('citation', ('str', {}), {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we might have decided to avoid the use of citation and just use text for now to be able to capture "link text" without needing to debate whether or not it's an actual citation ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated. I also removed all other references to citation/cited/etc., and tried to generalize the doc strings.

Copy link
Contributor

@therealsilence therealsilence left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof interfaces

'doc': 'Properties common to forms which are created on a per-source basis.',
'template': {'title': 'item'},
'interfaces': (
('doc:referrer', {}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the forms that meta:reported applies to (risk:threat, ,ou:campaign, etc.), adding the doc:referrer interface doesn't feel right - feels like a shoehorn to make MITRE "fit". It's almost like there should be a notional doc:report for MITRE (e.g., a notional threat profile) that has the references, not MITRE's risk:threat node.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, that kinda breaks the "multiple nodes to represent one thing" and makes an additional level of indirection JUST to allow those references. 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interface was removed, and a list of specific forms has been added.

'doc': 'Properties common to authorable forms.',
'template': {'title': 'document'},
'interfaces': (
('doc:referrer', {}),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the doc:authorable and doc:document (inherits doc:authorable) forms, some of these feel...pointy. Referrer props "mostly" fit doc:document forms, but doc:authorable includes Snort & YARA rules, it:software, etc. where I have to squint harder. Are we okay with this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interface was removed, and a list of specific forms has been added.

@invisig0th invisig0th marked this pull request as ready for review January 19, 2026 15:56
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.

5 participants