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

Leverage the Metadata feature to allow advanced data governance #632

Open
chadell opened this issue Dec 13, 2024 · 3 comments
Open

Leverage the Metadata feature to allow advanced data governance #632

chadell opened this issue Dec 13, 2024 · 3 comments

Comments

@chadell
Copy link
Contributor

chadell commented Dec 13, 2024

Environment

  • Nautobot version: 2.3.x
  • nautobot-ssot version:

Proposed Functionality

Incorporate basic metadata for data imported using the metadata feature

Use Case

This could allow better data governance in Nautobot, and allow for advanced data clean-up functionalities understanding which data souce takes more precedence

From the example:

... omitted code ...

# Define the different metadata sources, in this case ServiceNow
choice_service_now = MetadataChoice(
    metadata_type=source_cmdb_type,
    value="SNOW"
)

... omitted code ...

# For every object/fields, assign the  source
source_cmdb_metadata = ObjectMetadata(
    metadata_type=source_cmdb_type,
    assigned_object=device,
    scoped_fields=["name", "location", "primary_ip4", "device_type"]  # Only these fields are sourced from the upstream CMDB
)
source_cmdb_metadata.value = choice_service_now.value 
@Kircheneer
Copy link
Contributor

Related: #577

@Kircheneer
Copy link
Contributor

The documentation already hints at a clear use case, which is the one that you have already outlined @chadell.

The following are things are can provide out of the box through inference:

  • Which system of record is this data originally sourced from? (through the name of the integration, including fields through their names)
  • When was this data last synced from that system into Nautobot?

I believe we should make these toggle-able, potentially think about even making the names of the MetadataType configurable.

@chadell
Copy link
Contributor Author

chadell commented Dec 20, 2024

yup, that's the point. I think it should be part of the framework to easily use it :)

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

No branches or pull requests

2 participants