Skip to content

v1.0.3: Add a justification optional requirement. (#75)

Compare
Choose a tag to compare
@sfc-gh-jchacon sfc-gh-jchacon released this 18 Feb 23:39
· 362 commits to main since this release
fa85312
* Add a justification optional requirement.

Servers can require a justification string to be passed in from client side metadata.

They can also provide a user defined function to validate this as well.

Plumb into servers, sanssh and integration tests.

* Update usage information and important flags

* Refactor into authz hook style.

Telemetry just extracts anything which is sansshell-* from metadata and logs it.

If it gets an error from the handler (which is where authz hooks) it'll bail at that point.

So we get logging in one place and authz handled correctly in it's place.

* Remove debugging

* Convert server startup to take lists of authz hooks.