Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🌱 Add probe registration mechanism (#3876)
* add basic probe registration function Signed-off-by: Spencer Schrock <[email protected]> * ignore probes which call init to register the probe Signed-off-by: Spencer Schrock <[email protected]> * redefine probeimpl to avoid circular imports Signed-off-by: Spencer Schrock <[email protected]> * register all probes Signed-off-by: Spencer Schrock <[email protected]> * experiment with a probe struct Signed-off-by: Spencer Schrock <[email protected]> * make check name constants Signed-off-by: Spencer Schrock <[email protected]> * convert branch protection probes Signed-off-by: Spencer Schrock <[email protected]> * convert binary artifact probes Signed-off-by: Spencer Schrock <[email protected]> * convert cii probe Signed-off-by: Spencer Schrock <[email protected]> * convert ci test probe Signed-off-by: Spencer Schrock <[email protected]> * convert code review probes Signed-off-by: Spencer Schrock <[email protected]> * convert contributor probe Signed-off-by: Spencer Schrock <[email protected]> * convert dangerous workflow probe Signed-off-by: Spencer Schrock <[email protected]> * convert dep update tool probes Signed-off-by: Spencer Schrock <[email protected]> * convert fuzzing probes Signed-off-by: Spencer Schrock <[email protected]> * convert license probes Signed-off-by: Spencer Schrock <[email protected]> * convert maintained probes Signed-off-by: Spencer Schrock <[email protected]> * convert packaging probe Signed-off-by: Spencer Schrock <[email protected]> * convert sast probes Signed-off-by: Spencer Schrock <[email protected]> * convert security policy probes Signed-off-by: Spencer Schrock <[email protected]> * convert signed releases probes Signed-off-by: Spencer Schrock <[email protected]> * convert vuln probe Signed-off-by: Spencer Schrock <[email protected]> * try using probe registration data Signed-off-by: Spencer Schrock <[email protected]> * blank import unused probe Signed-off-by: Spencer Schrock <[email protected]> * add uncategorized group Signed-off-by: Spencer Schrock <[email protected]> * ensure All list is up-to-date Signed-off-by: Spencer Schrock <[email protected]> * add reason behind uncategorized group Signed-off-by: Spencer Schrock <[email protected]> * fix linter yaml parse error Signed-off-by: Spencer Schrock <[email protected]> * fix linter Signed-off-by: Spencer Schrock <[email protected]> * add webhook data Signed-off-by: Spencer Schrock <[email protected]> * convert probe registration to Must pattern Signed-off-by: Spencer Schrock <[email protected]> * add registration for new probes Signed-off-by: Spencer Schrock <[email protected]> * add missing license header Signed-off-by: Spencer Schrock <[email protected]> * revert changing wrapcheck linter config Signed-off-by: Spencer Schrock <[email protected]> * use error func which doesnt need wrapped Signed-off-by: Spencer Schrock <[email protected]> * add test for probe registration Signed-off-by: Spencer Schrock <[email protected]> * restore trailing newline Signed-off-by: Spencer Schrock <[email protected]> * order probe category list Signed-off-by: Spencer Schrock <[email protected]> --------- Signed-off-by: Spencer Schrock <[email protected]>
- Loading branch information