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

Ability to handle CMDB payloads with nested objects and keys with dot notation #15

Open
khpeet opened this issue Jul 31, 2023 · 0 comments

Comments

@khpeet
Copy link

khpeet commented Jul 31, 2023

Feature Description

Ability to handle CMDB payloads with nested objects and keys with dot notation. For example, depending on the defined query params, a response could include the following:

     "support_group": {
        "link": "https://companyName.service-now.com/api/now/table/sys_user_group/1c379e996f166a4",
        "value": "1c379e996f166a4"
      },
      "support_group.name": "Global Command Center",

The configuration should be able to reference both the nested object support_group.value (reference to nested key-value) AND support_group.name (direct key)

Possible Solution

Add a raw: true|false parameter to the mapping section of the config to denote whether the CMDB CI attribute reference is a nested json key-value, or non-nested (and has dot notation in the string of the key).

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

1 participant