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

Make Fill into form/pkg -> mark/pkg #82

Open
rwxrob opened this issue Apr 14, 2022 · 0 comments
Open

Make Fill into form/pkg -> mark/pkg #82

rwxrob opened this issue Apr 14, 2022 · 0 comments

Comments

@rwxrob
Copy link
Owner

rwxrob commented Apr 14, 2022

Eventually form should take the following variable parameters:

  • template string, struct, FuncMap ...

The struct (if any) will be used as the {{.Foo}} stuff. The FuncMap(s)
will be combined with the existing FuncMap full of builtins. It will
override any with conflicting names.

It will be perfectly acceptable to just use the string only since there
will be a ton of builtins including {{ exe "ls", "-l" }} as well as
system agnostic things like {{ hostname }}. The default library will
be very exhaustive and allow anyone to easily create a formatted report
about most anything they want to know about the system by just putting
them into the template form fields. This will significantly decrease the
amount of time required to generate forensics and auditing reports
originating from systems.

Eventually it will be made Kubernetes and Docker aware as well. But
anything can be added with the FuncMaps.

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