Multi File Config #53

Open
opened 1 year ago by zottelchin · 1 comments
Collaborator

It would be great to have the ability to import another config File in the Main Config. A Possible Command could be import other_checks.hcl. The File would be located in the same Directory as the chihuahua.hcl.
After scanning the parse.go File, I think it would be the easiest solution to scan the File for any import bla.hcl statement and simply replace it with the content of the file. I know not the elegant solution 😅

It would be great to have the ability to import another config File in the Main Config. A Possible Command could be `import other_checks.hcl`. The File would be located in the same Directory as the chihuahua.hcl. After scanning the parse.go File, I think it would be the easiest solution to scan the File for any `import bla.hcl` statement and simply replace it with the content of the file. I know not the elegant solution 😅
zottelchin added the
backend
label 1 year ago
Poster
Collaborator

would it be ok, if only root level amd not in groups or servers?

would it be ok, if only root level amd not in groups or servers?
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.