8000 Issue #1369: Convert domain properties with float values to integers by mwstock · Pull Request #1370 · SpecterOps/BloodHound · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue #1369: Convert domain properties with float values to integers #1370

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

mwstock
Copy link
Contributor
@mwstock mwstock commented Apr 17, 2025

Description

The stringToInt function expects either a string or an int value for domain properties when ingesting SharpHound data. Any others data types are discarded. Integers from SharpHound collect are currently being inserted as float64 values and then deleted. This change will convert float values to integers to avoid deletion.

Motivation and Context

Resolves: #1369

Why is this change required? What problem does it solve?

How Has This Been Tested?

Tested locally with valid SharpHound collection data. Changes resulted in the missing properties values now being available in Neo4J.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

@StephenHinck
Copy link
Contributor

Hi @mwstock - as I mentioned on the issue report, this has already been resolved and is set to release next week. I would still be happy to send you a swag package to show our gratitude for your efforts. If you'd be interested, please send me an email at shinck [at] specterops [dot] io!

@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2025
@StephenHinck StephenHinck reopened this Apr 17, 2025
@StephenHinck
Copy link
Contributor

Apparently - I was moving too quickly this morning. I see the differences now - yours addresses a broader issue than ours was focused on (just trustattributtes vs all properties on the domain). The offer absolutely stands for a swag package, and I'll get someone to give a proper ENG review shortly!

Copy link
Contributor
@rvazarkar rvazarkar left a comment

Choose a reason for hiding this comment

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

Looks great, merging!

@rvazarkar rvazarkar merged commit a0ea424 into SpecterOps:main Apr 17, 2025
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Integer values associated with Domain objects are being deleted when initially ingested by BloodHound
3 participants
0