0.58.0 • Published 1 day ago

@jupiterone/data-model v0.58.0

Weekly downloads
964
License
MPL-2.0
Repository
github
Last release
1 day ago

JupiterOne Graph Data Model

The JupiterOne Graph Data Model describes a set of common classifications for data found in an organization's set of digital assets, as well as common property names and relationships.

The model does not represent a strict requirement for data stored in the JupiterOne graph. It is acceptable and common to include many additional properties on any class of entity or relationship, when those properties provide value for querying and reporting. It is however strongly recommended that similar data use common class and property names where possible.

The value is realized when writing queries, or using queries others have written, and when viewing a list of similar assets from any number of external systems. For example, find Host with ipAddress="192.168.10.23" depends on the data model, which works whether the asset is in AWS, Azure, GCP, or detected by an on-prem scanner, or is a machine in the classic sense or a serverless function. The list of results would have some common property names no matter what a value is labeled in external systems.

Though the data model is not a strict schema, there are schemas which serve to communicate the data model and are used in JupiterOne UIs to support entity creation, editing, and visualization. Additionally, integrations are encouraged to generate entities and relationships that conform to the schemas to help to drive the advancement of the data model and provide consistency in the data we ingest. See the Integration SDK for functions that make this easy to do.

Entities and Relationships

The data model is built for a knowledge graph -- entities and relationships, or nodes and edges -- that reflects the stateful representation of the cyber infrastructure and digital operations of an organization.

The schema for each entity and relationship describes a collection of common attributes for that specific abstract class, along with graph object metadata as described in GraphObject.json.

The data model combines the benefit of having vendor/provider specific attributes together with abstract/normalized attributes. The vendor/provider specific attributes are dynamically assigned and not defined by the data model.

The Concept of _type and _class

Each entity represents an actual operating element (a "thing") that is part of an organization's cyber operations or infrastructure. This "thing" can be either physical or logical.

The metadata attributes _type and _class are used to define what the asset is:

  • _type: The value is a single string typically in the format of ${vendor}_${resource} or ${vendor}_${product}_${resource} in snake_case.

    For example: aws_instance, google_cloud_function, apple_tv, sentinelone_agent

    It is important to note that in some cases, ${vendor}_${resource} may not be ideal or feasible.

    For example, we may have directory data that comes in from an HR integration such as BambooHR or Rippling. The Person entity being created should have _type: 'employee' or _type: 'contractor' rather than _type: 'bamboohr_employee' or _type: 'bamboohr_contractor'.

    Another exception is data that comes from an integration with another ITSM, asset discovery tool, device management tool, or CMDB. While a system might be a good "source of truth" or "system of record," they are not the actual vendor of those devices.

    • If a server or application is ingested from ServiceNow, the _type should not be servicenow_server or servicenow_application.

    • If a Cisco switch is ingested from Rumble or Netbox, the _type should be cisco_switch instead of rumble_asset or netbox_device.

    • If a smartphone/mobile device is managed by Google Workspace and ingested via the integration, the _type for the device should not be google_mobile_device because the device could be an Apple iPhone and it would be very confusing to call an iPhone a Google mobile device. Instead, it should be apple_iphone when the type of device is known or a generic value of mobile_device.

  • _class: The value is a string or string array in TitleCase using a generic IT or Security term to describe the higher level category of the asset.

    These are defined in src/schemas.

Versioning this package

The following needs to be the last commit on your branch right before merging to main. That's crucial to the CI process. \ If you encounter issues while doing the following procedure, rebasing won't work, you'll need to start it over again because of how tags work.

  1. Update the CHANGELOG.md file with the new version number and the changes made in that version. Don't commit the change.
  2. Stage the changes of the changelog and then run yarn version to commit the changes to the changelog, and bump the package number. This will also tag said commit locally on your branch.
  3. Push your changes. Merge to main.
0.58.0

1 day ago

0.57.0

18 days ago

0.56.1

1 month ago

0.55.0

1 month ago

0.54.0

1 year ago

0.53.0

1 year ago

0.52.0

1 year ago

0.51.0

2 years ago

0.50.0

2 years ago

0.48.0

2 years ago

0.49.0

2 years ago

0.46.0

2 years ago

0.47.0

2 years ago

0.45.0

2 years ago

0.43.0

2 years ago

0.44.0

2 years ago

0.42.1

2 years ago

0.41.0

2 years ago

0.42.0

2 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.38.0

3 years ago

0.36.0

3 years ago

0.37.0

3 years ago

0.35.0

3 years ago

0.34.0

3 years ago

0.33.0

3 years ago

0.32.0

3 years ago

0.31.0

3 years ago

0.30.0

3 years ago

0.29.0

3 years ago

0.27.0

3 years ago

0.25.0

3 years ago

0.28.0

3 years ago

0.26.0

3 years ago

0.21.0

3 years ago

0.24.0

3 years ago

0.22.2

3 years ago

0.23.0

3 years ago

0.22.1

3 years ago

0.22.0

3 years ago

0.20.1

3 years ago

0.20.0

3 years ago

0.19.1

3 years ago

0.19.0

3 years ago

0.18.0

3 years ago

0.17.0

3 years ago

0.16.5

3 years ago

0.16.4

3 years ago

0.16.3

3 years ago

0.15.1

3 years ago

0.15.0

4 years ago

0.14.1

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.3

4 years ago

0.6.4

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2-0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago