Skip to content

Node properties use PascalCase instead of the lowercase OpenGraph convention #27

Description

@p0dalirius

Summary

Node properties are emitted in PascalCase (Identifier, KeyType, Modulus, BitLength, …) instead of the lowercase convention the BloodHound OpenGraph schema specifies, so Cypher queries and the UI must reference non-standard, case-sensitive keys.

Location

  • File(s): parse.go
  • Line(s) / function(s): ParseResults() — every SetProperty/GetProperty call except the already-lowercase name/displayname

Note

This is a convention/interop conformance change rather than a runtime defect — the collector functions with PascalCase keys, but property names are case-sensitive in BloodHound and the schema specifies lowercase. Filed at the maintainer's explicit request.

Category

api-contract

Current Behavior

Properties are set with PascalCase keys: Identifier, Version, Source, Usage, CreationTime, KeyHash, KeyType, CbKey, Count, Q, Seed, Modulus, PrivateExponent, Public, Generator, BitLength, CbModulus, CbPrime1, CbPrime2, CbPublicExp, Prime1, Prime2, PublicExponent, KeySize, D, X, Y.

Desired Behavior

Property names follow the lowercase (snake_case for multi-word) OpenGraph convention, consistent with the already-correct reserved name/displayname properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions