Repository navigation
Changelog
- 76a7f4b docs: add documentation for
suiteand each of its sub-commands - 51bcad8 feat(suite/loader): add forward-reference check for field bindings
- 756ca43 docs(samples): add samples covering each relevant
suitefeature - 05d8541 ci(.github): bump
docker/build-push-actiontov7.1.0 - c46104d ci(.github): bump
docker/setup-qemu-actiontov4.0.0 - 86a7377 ci(.github): bump
actions/checkouttov6.0.2 - c6185ce ci(.github): bump
goreleaser/goreleaser-actiontov7.2.1 - 06ca7f3 ci(.github): bump
docker/setup-buildx-actiontov4.0.0 - 4641036 ci(.github): bump
docker/login-actiontov4.1.0 - ecac793 ci(.github): use
ubuntu-24.04runner everywhere - f76a369 ci(.github): bump
setup-goand extract go version fromgo.mod - 9b084c6 fix(suite/loader): prevent override of reserved environment variables
- 547d654 fix(Dockerfile): align base image to
go.modGo version - af39df1 fix(suite/cmd/explain): avoid exposing field binding description
- 6130660 chore(chart): add source chart
- 09a6ee3 chore: bump go deps
- 8b5ae8d fix(suite/cmd/explain): avoid duplicated node descriptions
- a8d3fc9 cve fix
- c0a07fc docs(suite): add
samplesfolder providing some demonstrative samples - 9cc890c chore: bump CI golangci-lint version and migrate to golangci v2
- 15ad504 ci(.github): add
/area automationto PR template - 90377b9 docs: update
benchandtestdocumentation - 62d5e2e feat(cmd)!: use HTTP output instead of gRPC output
- 510a0a3 feat(suite)!: replace gRPC alert retriever with HTTP alert retriever
- 217294e docs(OWNERS): move
ekoopsfrom reviewer to approver - 8dec413 cleanup(ci): update github actions hashes
- 05396dc feat(suite/step/syscalls): allow to omit
readbufferorlenarg - 4440ddb feat(suite/step/syscalls): add arguments constraints support
- 5385746 update(.github): switch to multi platform build in one step
- 6112610 update(.github/workflows/publish-main.yaml): apply review suggetion
- 6af4701 update(.github): avoid GoReleaser for pushing container images for
main - 07d107e fix(.github/publish-main.yaml): revert unnecessary override
- 60b9488 fix: enable goreleaser push for
main - f3355e4 new(.github/workflows): publish dev build for
mainbranch - 72d0db9 new: goreleaser config for
maindev builds - 14dfc09 feat(suite/cmd/test): output test cases information in report encoding
- 665eea6 docs(OWNERS): add ekoops as reviewer
- 164f7d4 fix(suite/step/syscalls): align
readandwritestep args after run - aaf411f docs(cmd): improve
suitecommand description - 0634688 feat(decl): rename
declarativecommands namespace tosuite - ce29ffb feat(decl/container): switch to docker client sdk
- 1008768 refactor(decl/syscalls): use composition over function pointers
- 756643d feat(decl/fd/file): create dir hierarchy if not exist
- d8272d9 feat(decl/fd/directory): create dir hierarchy if not exist
- 09d3532 refactor: add osutil package
- 1e1fd91 refactor(decl/caps): move func setting capabilities to capability pkg
- 2c1f87d feat(decl/proc-chain): create proc exe dir hierarchy if not exist
- f81e7d7 feat(decl/cmd/test): give a name to alert retriever logger
- 192b6bb build: bump libcap version
- aba078d refactor(decl/tester): remove unused report encoders code
- 7d03f12 feat(decl/cmd/test): groups test reports by test suite
- 1e7dada docs: update copyright year to 2025
- 5240b43 feat(decl/cmd/test): switch to incremental backoff in report retrieval
- c722115 feat(decl/suite): add YAML, JSON and text encoders for suite reports
- d2ac670 refactor(decl/suite): split definition from API implementation
- 13307c0 refactor(decl/suite): move no-rule check logic in suite loader
- ca01977 feat(decl/cmd/test): honor ctx cancellation in report generation
- 98fc6c9 fix(decl/loader): generate documentation for list items
- f801549 feat(decl/loader): add test cases JSON schema
- f850e9f feat(decl/loader): add test cases support
- dc2d277 feat(decl/loader): allow spaces in field binding syntax
- d223aaf fix(decl/runners): fix host runner delegation logic
- 92d4651 feat(decl/cmd/test): introduce
--description-dirflag - 83f25df feat(decl/cmd/test): allow multiple description file to be provided
- 1d80762 feat(decl/runners): improve host runner logging
- b31a580 refactor(decl): improve logging attributes propagation
- 8aa1547 feat(decl/cmd/test): add test suites support
- 13241c1 feat(decl/suite): add test suites loading support
- 021903c feat(decl/cmd/test): move context from logger name to attributes
- 389631e fix(decl/loader): fix steps/resources name uniqueness enforcement
- bf080da feat(decl): make rule and expectedOutcome conditionally optional
- 21b7ee8 fix(decl/cmd/test): wait for goroutines termination upon failures
- 0207303 feat(decl/cmd/explain): add --format flag and YAML format option
- 3654c63 feat(decl/cmd/explain): add explain command
- 207aff4 feat(decl/loader): add yaml tag to schema documentation node
- 275c58e feat(decl/scripts): replace sh with bash
- 2e233ed feat(decl/loader): add support for generating documentation node tree
- fd6c983 fix(decl/loader): fix tests expected outcome JSON schema
- 70233d5 feat(decl/loader): add test resources metadata to JSON schemas
- c3bc134 feat(decl/loader): add syscall test steps metadata to JSON schemas
- 6f568e1 fix(decl/loader): fix field bindings marshaling for nested fields
- 3666e61 feat(decl/loader): replace go-yaml/yaml with goccy/go-yaml
- 3f611f8 feat(decl/loader): set up two-steps unmarshaling via mapstructure
- 2df5abe feat(decl/loader): add validator leveraging JSON schema
- 68c399e fix(decl): remove unneeded print statements
- a6127bb style(decl): replace interface{} with any
- 9b0822e fix(decl/syscalls): fix system call argument value parsing
- 157049c fix(decl/syscalls): fix symlinkat system call cleanup logic
- 5efd3ed fix(decl/syscalls): fix dup3 system call cleanup logic
- e7a551e fix(decl/syscalls): fix openat2 default arguments
- bee3a47 feat(decl/syscalls): remove unneeded line in socket syscall
- eb9551f fix(decl/syscalls): fix linkat syscall invocation
- 72e7f4b cleanup(decl/cmd/test): clean test command run function
- 5fe4bee feat(decl/process): add process builder
- 581447d cleanup(decl/cmd/test): move runner error logging in separate function
- 60fc1c8 cleanup(decl/cmd/test): remove unneded if statement
- 26b32eb feat(decl/cmd/test): omit default process in containerized tests
- 280e445 feat(decl): enhance process labels propagation system
- 843e8f2 chore(decl): add label package supporting labels handling
- 4af3940 feat(decl/containers): add containerized test support
- 77f66fc chore(Dockerfile): replace alpine base images with debian-based ones
- 397d269 feat(decl/containers): add containerd container builder
- 9dbe582 chore(decl): add container and container builder declaration
- 8f85562 chore(decl/loader): improve container context definition
- 4f962dd fix: add missing new line for better visualization of failed tests
- 4cadeb5 chore(decl/scripts): conditionally disable shell script execution
- e5d0211 fix(decl/loader): fix potential nil ptr deref in context validation
- 05b05c4 fix(decl/scripts): fix shell script SIGUSR1 handling
- e34907b feat(decl/proc-chain): add user and capabilities support
- 02ee731 feat(decl/loader): add user and capabilities fields YAML definition
- 13f4ba4 chore(decl/caps): add capabilities manipulation package
- 99e9a0e feat(decl/syscalls): add kill system call test step
- efece71 cleanup(decl/syscalls): remove unused ret fields
- b046f61 style(decl/loader): change switch style
- ff35bf0 docs(decl/write): fix typo in write system call test step comment
- 316a6a8 feat(decl/resources): add process test resource
- 5c543d3 feat(decl/loader): add process resource YAML definition
- 417cf33 chore(decl): abstract process creation
- 2e1f1fa feat(decl/cmd/test): add flag for specifying report output encoding
- 4fcacac feat(decl/tester): add report yaml encoder
- 3f89db4 feat(decl/tester): add report json encoder
- 6658937 feat(decl/cmd/run): fallback to test command
- cc05855 feat(decl/cmd/test): add test command
- 277723f chore(decl/config): add command shared configuration
- 90a17f4 feat(decl/tester): add tester
- 59f05a1 feat(decl/tester): add report text encoder
- 3f30f62 feat(decl/tester): add tester, report and report encoder definition
- ff3a426 feat(decl/loader): remove unneded custom validation for rule name
- 7c28dc8 chore(decl/alert): add alert gRPC retriever
- 34118f3 feat(decl/alert): add alert and alert retriever definitions
- 4f44a80 chore(decl/loader): remove time and output from expected outcome
- 71860b6 chore(decl/loader): rename expected output to expected outcome
- 412a789 feat(decl/cmd/run): add default process for empty process chains
- 3166c68 chore(decl): make process context's executable path optional
- 2ab5c00 chore(random): move rand sequence gen out of clientServer resource
- eb86153 feat(decl): add test ID support
- 3dae7b7 feat(decl/cmd/run): store flags in command wrapper instance
- 66e8d95 chore(decl): rename process ID to process label and hide the flag
- 7be67b7 fix(decl): return error if openMode is negative
- 99defad fix(decl): use SetUint for open_mode uint32 field
- 97846b7 feat(decl/loader): allow empty test step list
- 4e5748f feat(decl): add CLI support to run declarative tests
- 55df477 feat(decl/log): add logging support through logr and zap
- 1931f76 feat(decl): rename test configuration to test description
- 1e7908a feat(decl/runners): add runner builder
- 6e4c290 feat(decl/runners): add host runner
- e7fd742 feat(decl/runners): add runners and runners builder declarations
- 58ee461 feat(decl/loader): complete process context definition
- 8b0695b feat(decl/loader): add support for test configuration serialization
- b5abd2b chore(decl/log): add more log context in test and resource builders
- edb56f7 feat(decl/tests): add test builder
- f91a908 feat(decl/tests): add test implementation
- 4db15b3 feat(decl/scripts): add test shell scripts support
- 1e2f840 feat(decl/tests): add tests and tests builder declarations
- ddd283a feat(decl/resources): add resource builder
- e4ab796 feat(decl/fd): add memfd fd test resource
- 86c52be feat(decl/fd): add inotify fd test resource
- d7330df feat(decl/fd): add eventpoll fd test resource
- 0328dfa feat(decl/fd): add signalfd fd test resource
- 8c15c43 feat(decl/fd): add event fd test resource
- 5ceefc8 feat(decl/fd): add pipe fd test resource
- 1aaed84 feat(decl/fd): add directory fd test resource
- fbe1d70 feat(decl/fd): add file fd test resource
- 602738d feat(decl/loader): add fd resource and subtypes YAML definition
- df34ba7 chore(decl/loader): move test resource spec decoding out of switch
- 60b40e4 fix(decl/loader): fix test steps and resources spec validation
- bbd33be cleanup(decl/syscalls): remove print statement in socket run
- 53b37ef feat(decl/resources): add clientServer test resource
- 8b029d5 feat(decl/resources): add resources and resources builder declarations
- ec7468a feat(decl/loader): add clientServer resource YAML definition
- cdb678f fix(decl/syscalls): simplify arg parsing logic and disable lint issues
- 52616e7 feat(decl/syscalls): add syscall test step builder
- 37fc39c feat(decl/syscalls): add sendto system call test step
- a3826db feat(decl/syscalls): add socket system call test step
- 0357a5f feat(decl/syscalls): add connect system call test step
- 697d361 feat(decl/syscalls): add dup3 system call test step
- 872d708 feat(decl/syscalls): add dup2 system call test step
- ed22953 feat(decl/syscalls): add dup system call test step
- fc812c5 feat(decl/syscalls): add finit_module system call test step
- 81e6e7c feat(decl/syscalls): add init_module system call test step
- 414b074 feat(decl/syscalls): add linkat system call test step
- f2d23e8 feat(decl/syscalls): add link system call test step
- 530d19a feat(decl/syscalls): add symlinkat system call test step
- 2607204 feat(decl/syscalls): add symlink system call test step
- b6c7093 feat(decl/syscalls): add openat2 system call test step
- f8b185f feat(decl/syscalls): add openat system call test step
- c72a612 feat(decl/syscalls): add open system call test step
- eee7b41 feat(decl/syscalls): add read system call test step
- 3adf810 feat(decl/syscalls): add write system call test step
- a491e7b feat(decl/syscalls): add base system call test step
- a4b8b23 feat(decl/syscalls): add steps builder and syscall steps declaration
- f522f1d feat(decl/steps): add test steps and steps builder declarations
- 791775d feat(decl/fields): add test step fields abstraction
- 19cf7b9 feat(decl/loader): add tests configuration YAML definition and loader
- 3bcfbc3 chore(ci): switch to github provided arm64 runners.
- fdf3428 update(ci): use arm64 CNCF runners for GH actions
- 3b9644b chore(lint): apply linter
- dcd210e new(linter): add linter for the repository
- ac5085e build: fix cross-compilation
- 120ae6f chore(dockerignore): use white-list approach
- cbb8ae6 docs(docs): update commands
- c4aee29 docs(README.md): update for v0.12