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

Handling recursive objects #1004

Open
pagbabian-splunk opened this issue Apr 1, 2024 · 0 comments
Open

Handling recursive objects #1004

pagbabian-splunk opened this issue Apr 1, 2024 · 0 comments

Comments

@pagbabian-splunk
Copy link
Contributor

Related issue: 996

There have been sightings of a few objects where recursion could take place and in general there are no bounds on recursion. There may be value in a is_recursive keyword when authoring an object to warn tools (e.g. the class graph feature) not to attempt to resolve ad infinitum the possible paths.

Note, not all recursion is direct, e.g. ldap_person has a manager which is a user which in turn has an ldap_person hence it should be noted at the first level that a potential recursion could occur.

Further, having a documented recursion limit could be an option, e.g. recursion_limit = 2 so that things don't get out of hand.

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