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

plugin system, events tester, and minor features #31

Merged
merged 20 commits into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9a81a61
fix(pkg/runner): pass context to `Run()`
leogr Jun 3, 2020
ffb5f90
feat(pkg/runner): add plugin support
leogr Jun 3, 2020
6e487a1
feat(events): add `MatchRule` func
leogr Jun 3, 2020
2619a13
chore: add skip mechanism, container detection, and pass error to plugin
leogr Jun 4, 2020
dc72a23
new(pkg/tester): plugin to test actions in a running Falco instance
leogr Jun 4, 2020
23eb696
new(cmd): add `test` command
leogr Jun 4, 2020
ea59cca
feat(pkg/tester): add bidi gRPC support and test timeout
leogr Jun 19, 2020
7075a95
new(cmd): add `--test-timeout` flag to `test` command
leogr Jun 19, 2020
429cfe2
feat(events): add options to make actions disabled by default
leogr Jun 19, 2020
ce03660
new(pkg/runner): add `WithAllEnabled` option
leogr Jun 19, 2020
5a04ddc
new(cmd): add `--all` flag for all actions related commands
leogr Jun 19, 2020
aa3961e
new(deployment): add `run-test.yaml` resource
leogr Jun 23, 2020
0284d0f
update(events/syscall): `ScheduleCronJobs` skipped when crontab utili…
leogr Jun 4, 2020
837f7ff
update(events/syscall): `UserMgmtBinaries` skipped when running in a …
leogr Jun 4, 2020
c7c7b9a
update(events/syscall): `ScheduleCronJobs` is now disabled by default
leogr Jun 19, 2020
4ba5337
update(events/k8saudit): `CreateDisallowedPod` is now disabled by def…
leogr Jun 19, 2020
430557a
build: set client-go version to v0.2.0
leogr Jul 20, 2020
7a81146
build: upgrade dependencies
leogr Jul 20, 2020
6e0cd7f
docs: update documentation for `test` command
leogr Jul 20, 2020
e1fa9cd
chore(deployment): switch back to `latest`
leogr Jul 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build: set client-go version to v0.2.0
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr committed Jul 20, 2020
commit 430557a697d4450d9c8c6668341c208d7f62d2cf
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ go 1.14

require (
github.com/creasty/defaults v1.3.0
// todo(leogr): update version once client-go with bidi support has been released
github.com/falcosecurity/client-go v0.1.1-0.20200609153459-3b6f8eb9e49d
github.com/falcosecurity/client-go v0.2.0
github.com/go-playground/locales v0.13.0
github.com/go-playground/universal-translator v0.17.0
github.com/go-playground/validator/v10 v10.2.0
github.com/gogo/protobuf v1.3.1
github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334
github.com/mitchellh/go-homedir v1.1.0
github.com/sirupsen/logrus v1.5.0
Expand Down
13 changes: 2 additions & 11 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,8 @@ github.com/evanphx/json-patch v4.2.0+incompatible h1:fUDGZCv/7iAN7u0puUVhvKCcsR6
github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d h1:105gxyaGwCFad8crR9dcMQWvV9Hvulu6hwUh4tWPJnM=
github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod h1:ZZMPRZwes7CROmyNKgQzC3XPs6L/G2EJLHddWejkmf4=
github.com/falcosecurity/client-go v0.1.0 h1:YU97iUyb3VAmm7odzzUj0DKjCJPfIcihKlOc+1DTLfs=
github.com/falcosecurity/client-go v0.1.0/go.mod h1:woDCVHKkEfisBI7+dgVs8NnbnlMj8vLoZ4BQQImQQP4=
github.com/falcosecurity/client-go v0.1.1-0.20200529161230-8578c36af411 h1:gO3zdypleXkYtybtT3u/yZrwE3f9QGm6+8CiMZTKIfo=
github.com/falcosecurity/client-go v0.1.1-0.20200529161230-8578c36af411/go.mod h1:woDCVHKkEfisBI7+dgVs8NnbnlMj8vLoZ4BQQImQQP4=
github.com/falcosecurity/client-go v0.1.1-0.20200601150733-a51eea758626 h1:EkIthWxVXnF6jVfTaABarjiHbLUkcr7ZkISEVcze8nA=
github.com/falcosecurity/client-go v0.1.1-0.20200601150733-a51eea758626/go.mod h1:SvXQr53AiNuSs4AJBm2ZzPjgUeoKbjIVQZA9NRUyW0E=
github.com/falcosecurity/client-go v0.1.1-0.20200609153459-3b6f8eb9e49d h1:gzrFNkvzSgiCJxawjKTJvpkFEnTNj1+S0sv/jielspI=
github.com/falcosecurity/client-go v0.1.1-0.20200609153459-3b6f8eb9e49d/go.mod h1:SvXQr53AiNuSs4AJBm2ZzPjgUeoKbjIVQZA9NRUyW0E=
github.com/falcosecurity/client-go v0.2.0 h1:8XCWg04hRI34PaOhg1W2aBmAEQb7L6BmtT03fQdKqYs=
github.com/falcosecurity/client-go v0.2.0/go.mod h1:SvXQr53AiNuSs4AJBm2ZzPjgUeoKbjIVQZA9NRUyW0E=
github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8=
github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc=
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
Expand Down Expand Up @@ -135,7 +129,6 @@ github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4er
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/mock v1.4.3 h1:GV+pQPG/EUUbkh47niozDcADz6go/dUwhVzdUQHIVRw=
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
Expand Down Expand Up @@ -392,8 +385,6 @@ golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456 h1:ng0gs1AKnRRuEMZoTLLlbOd+C17zUDepwGQBb/n+JVg=
golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 h1:YyJpGZS1sBuBCzLAR1VEpK193GlqGZbnPFnPV/5Rsb4=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200321134203-328b4cd54aae h1:3tcmuaB7wwSZtelmiv479UjUB+vviwABz7a133ZwOKQ=
golang.org/x/sys v0.0.0-20200321134203-328b4cd54aae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
Expand Down