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

Remove length limit on oplog fields #369

Merged

Conversation

ColonelThirtyTwo
Copy link
Collaborator

Issue

Internal issue

Description of the Change

Change OpLog CharFields to (a thin wrapper around) TextFields that support much larger storage.

Alternate Designs

Possible Drawbacks

Verification Process

Made an oplog entry with very long text for the source IP address

Release Notes

  • Remove character limits on OpLog fields

In particular, Mythic agents can generate very long IP address entries
on agents that have multiple IPv6 NICs that would overflow the 255
character limit.
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6bd74d2) 92.27% compared to head (4b58a94) 92.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #369      +/-   ##
==========================================
- Coverage   92.27%   92.26%   -0.02%     
==========================================
  Files         255      256       +1     
  Lines       15996    16006      +10     
==========================================
+ Hits        14761    14768       +7     
- Misses       1235     1238       +3     

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

@chrismaddalena chrismaddalena merged commit dbd59dc into GhostManager:master Dec 14, 2023
6 of 7 checks passed
chrismaddalena added a commit that referenced this pull request Dec 14, 2023
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.

2 participants