Releases: falcosecurity/falcoctl
Releases · falcosecurity/falcoctl
v0.4.0
Changelog
- d1bec56: new: introduce new function to check if we are downloading allowed type of artifacts (@loresuso)
- 2ad9cd3: new: add a way to retrieve allowed types from config, env and flags (@loresuso)
- 6b4a1a5: update: use the check of allowed types in the logic for install and follow (@loresuso)
- b079c00: chore: allow everything is nothing is passed as allowed types (@loresuso)
- bc12026: update: add a flag to disable resolving deps in artifact install (@loresuso)
v0.3.0
v0.3.0-rc7
Changelog
- 630f9a3: fix(date format): usedate format ISO 8601 for build date in the CI (@alacuku)
- 71eb83f: chore(cmd/artifact): explain artifact reference (@leogr)
- b3fb99b: chore(cmd/artifact/follow): better command explanantion (@leogr)
- 1b93b67: chore(cmd): update tool main description (@leogr)
- 15a6134: fix: correct "rulesfile" spelling (@leogr)
- 2a5aebe: update(config): remove follower's default config values (@alacuku)
- fc1e53b: WIP: new documentation (@therealbobo)
- e07f520: chore(cmd/artifact): added help section relative to args/env/config priority (@therealbobo)
- 1a1abaa: docs(README.md): cleanup + environment vars section (@therealbobo)
- 04827bd: docs(README.md): added complete config file + typo (@therealbobo)
- 3843992: fix(internal): wrong config file name used (@therealbobo)
- a5f6222: refactor(index): change function signature (@alacuku)
- 3c60bf4: new(index-caching): add in-memory cache mechanism for index files (@alacuku)
- 5e0b8fa: update(index/add): make the index add command idempotent (@alacuku)
- bb7f719: update(index/update): remove validation logic from update command (@alacuku)
- c83fa60: new(index-caching): add in-memory cache mechanism for index files (@alacuku)
- e11b6c9: fix: strenghten env variables validation from user input (@loresuso)
- 229a607: docs(README.md): added artifact follow documentation (@therealbobo)
- f0b8791: fix(README): typo (@therealbobo)
- 7436ad2: fix: error if artifact destination directory is not present/writable at start (@therealbobo)
- 80f0cf6: fix: new logic (@therealbobo)
v0.3.0-rc6
Changelog
- 16b9eba: fix(cmd): arg missing in usage message of registry auth oauth (@therealbobo)
- 360faa0: fix(version): correctly set falcoctl version at build time (@alacuku)
- f550f19: fix(internal): error handling with no artifacts (@therealbobo)
- 576ecd5: refactor: move checks from internal to cmd (@therealbobo)
- 8e59869: fix(cmd): correctly handle install args (@therealbobo)
- 6e376a2: refactor(cmd): added comments (@therealbobo)
v0.3.0-rc5
Changelog
- a0d839a: fix(follower): do not make assumptions on data retrieved from version endpoint (@alacuku)
- 05f06ca: fix(pusher): automatically add latest only if no other tag was specified (@LucaGuerra)
v0.3.0-rc4
Changelog
- 2c5cb2d: fix(cmd): added initialization to Printer (@therealbobo)
v0.3.0-rc3
v0.3.0-rc2
Changelog
- 6e0d1db: docs: rename purpose of the tool (@loresuso)
- 8f10092: fix: update test data (@loresuso)
- 0da5193: fix: use a move function that copies content of a file if rename fails (@loresuso)
- df5dbd5: update: add all possible directories related flags to config file (@loresuso)
- 35d74bf: update: force viper values into flags if needed (@loresuso)
- cc94eec: update(config): find default config file in
/etc/falcoctl/falcoctl.yaml
(@leogr) - e1104a6: chore(cmd/testdata): new default config path (@leogr)
- 49e5a2a: chore(internal/config): explicitly set the config file to viper (@leogr)
- 5f72ed1: update: add retry logic when retrieving falco versions (@loresuso)
- d907121: update: stop retry logic earlier if you know you are going to sleep more than max delay (@loresuso)
- 71daaaa: fix: catch os.IsNotExists error when creating config (@loresuso)
- 933edfd: refactor: match config file to artifact install and follow commands (@loresuso)
- d64e502: refactor: match config file to registry auth commands (@loresuso)
- dd096bd: update: rename working dir of the follower to tmp dir (@loresuso)
- 8560532: upddate: remove logout command (@loresuso)
- d3c8ac7: refactor: restructure of auth commands (@loresuso)
- dbbd849: refactor: move second level commands to their own packages (@loresuso)
- 8370fb7: fix: use falcoctl as name of the config also when updating it (@loresuso)
- 6628ba6: refactor: rename login function to basic (@loresuso)
- e4dbe68: new(internal/artifact): added support to pass cron-like strings to specify artifact follow intervals. (@FedeDP)
v0.3.0-rc1
Changelog
- 738e43f: new(docs): add installation instructions (@alacuku)
- b572636: new(docs): add docs for the falcoctl tool (@alacuku)
- 713be47: feature(cmd): add new global flag --disable-styling (@alacuku)
- ddae9b6: update(ci): use -ldflags="-s -w" when building falcoctl (@alacuku)
- fc322ac: new(Dockerfile): introduce Dockerfile for falcoctl (@alacuku)
- 93d4a3d: new(CI): build and push docker images when releasing a new version (@alacuku)
- 8752ed5: refactor(cmd): remove duplicated code when creating pullers and pushers (@alacuku)
- 9168358: fix(build): use new-style GCI CLI (@LucaGuerra)
- cf1e1ad: update(build): update GCI to 0.9.0 (@LucaGuerra)
- 309c5ef: update(output): add new methods to the printer (@alacuku)
- b4e66d9: refactor(cmd/internal): move package utils from cmd/internal to internal (@alacuku)
- 4489ef0: refactor(cmd/artifact): move artifact subcommands from cmd to internal/artifact (@alacuku)
- a6c2655: refactor(cmd/index): move index subcommands from cmd to internal/index (@alacuku)
- 7a47783: refactor(cmd/registry): move registry subcommands from cmd to internal/registry (@alacuku)
- b5eb8e5: refactor(cmd/tls): move tls subcommands from cmd to internal/tls (@alacuku)
- 4fe0e84: refactor(pkg/version): move version command from cmd to internal/version (@alacuku)
- 20ff37f: cleanup(cmd/root) remove unused variables (@alacuku)
- 19a4ab7: chore(artifact/install): move default paths for plugins and rulesfiles to internal/config package (@alacuku)
- aedee8f: update(internal/utils): return full path of the extracted files in ExtractTarGz func (@alacuku)
- a2efb4a: update(output/tracker): return a nil tracker if the printer is nil (@alacuku)
- c189eb0: update(CI): add floating tags to docker image based on major and minor version numbers of a release (@alacuku)
- 47045d5: new(pkg/oci): use functional options for creating repositories (@loresuso)
- 744ada5: update(pkg/oci): adapt creation of repositories with functional options (@loresuso)
- b33f6a8: feat(oci/puller): add Descriptor method to retrieve artifacts' descriptor (@alacuku)
- 93d0fe8: feat(internal/validate): add new helper to extract the TAG from an artifacts' reference (@alacuku)
- 084ac34: new(internal/follower): add Follower type and related package (@alacuku)
- 0eac03c: feat(artifact/follow): add new command "artifact follow" (@alacuku)
- ca7e5d6: new(cmd/artifact): add the follow subcommand to the artifact command (@alacuku)
- 4ad4a3e: chore(cmd/root): print log messagge when a termination signal is received (@alacuku)
- 1a41d32: fix(pkg): create repo with functional options and fix main branch error (@loresuso)
- f566ad6: chore: improve error messages in Login and ClientForRegistry (@loresuso)
- f1005d0: docs: switch ref and file in push short usage (@loresuso)
- 3acd4fc: new(cmd): add artifact type to search (@LucaGuerra)
- ed240e9: new(cmd): add falcoctl artifact list (@LucaGuerra)
- 2e8c023: fix(cmd): clarify artifact types (@LucaGuerra)
- 49b4ed6: update: add oauth2 dependency (@loresuso)
- 5c4e575: new(cmd): implement oauth client credential flow (@loresuso)
- 3c3a90e: update(internal/registry): add possibility store access token (@loresuso)
- 3616fc7: update: reworking client creation to accommodate oauth (@loresuso)
- 983a593: refactor: use functional options to create http client (@loresuso)
- 04dd860: update: add logic to store and retrieve client credentials (@loresuso)
- c94ca13: refactor: start using oauth in the *ForRegistry function (@loresuso)
- 48ead1b: update: add options for oauth and plain http for pusher and puller (@loresuso)
- 4e6ea2a: update: introduce registry and repository package (@loresuso)
- 57bf41f: refactor: make use of the new registry type (@loresuso)
- f5ebdce: refactor: move responsability of listing tag to repository struct (@loresuso)
- c424401: refactor: create client with correct method and use repository.Tags in artifact info (@loresuso)
- d894fc7: update: port oauth and plain-http flags to artifact commands (@loresuso)
- 484ec0c: chore: please the linter (@loresuso)
- 57f13b1: refactor: bring check on v2 API in registry package (@loresuso)
- 0ebee0c: chore: use default tag concurrency equal to 1 (@loresuso)
- 364102b: refactor(oci/client): avoid yet another wrapper for the oci client (@alacuku)
- 1f6a9ee: fix: correctly remove temp files when pushing (@loresuso)
- fe5e90c: fix(pkg/oci/repository): do not error when parsing semver tags that do not strictly adhere to semver (@alacuku)
- cfcf917: update(pkg/oci): add requirements concept to artifact config (@leogr)
- 116b194: refactor: artifact config with requirements (@leogr)
- 3cc43d9: update: add artifact name in artifact config (@leogr)
- aa4d4ca: update: add artifact name in artifact config (@leogr)
- 1f8a346: chore(pkg/oci): fix typo in function name (@alacuku)
- fa51ff0: fix(linting): remove hugeParam warning (@alacuku)
- a8cf20a: fix(pkg/ogi): allow the alternatives when setting a dependency in the artifact config (@alacuku)
- e9b93d3: fix(ci): use main branch instead of master in codeql workflow (@alacuku)
- 4c4cd3d: chore(ci): bump codeql version to v2 (@alacuku)
- f883f38: chore: don't use logrus as logger (@loresuso)
- b57196b: chore: use const when possible (@loresuso)
- a7e5058: update: add alias ls to artifact list command (@loresuso)
- 6046fd4: new(internal/artifact/install): introduce a function to resolve dependencies between artifacts (@loresuso)
- 65d6f5c: test(internal/artifact/install): test artifact dependencies resolution (@loresuso)
- 01dcba1: new(pkg/oci/puller): introduce a new function to retrieve config layer of an artifact (@loresuso)
- 9ed9f66: upddate(internal/artifact/install): make use of resolve deps functionality in the artifact install command (@loresuso)
- a0cfff1: chore: fix linter issues (@loresuso)
- 16b8745: chore: address minor comments (@loresuso)
- 8d8808c: update: get name directly from config layer. (@loresuso)
- 0a1e73f: update: make artifact commands use a configuration file to enable feed feature (@loresuso)
- bca2e11: update: make sure to load config file only on commands that need it (@loresuso)
- fa7b5e6: update: load config values in artifact related commands (@loresuso)
- 71c678c: update: remove unnecessary oauth flag (@loresuso)
- 70f331d: update: load config in index related commands (@loresuso)
- 665aba5: update: bump linter version (@loresuso)
- 27145c3: update: correct way to handle oauth credentials using registry name as key (@loresuso)
- 582a638: update: add logic to handle config file with viper (@loresuso)
- a3fa21d: update: update testdata to pass tests (@loresuso)
- 5954486: fix: ensure all directories exists using MkdirAll (@loresuso)
- b875332: fix: let client for registry use empty credentials if any credential was found (@loresuso)
- 6880e5e: fix: ensure options are always initialized (@loresuso)
- 175f565: fix: falco is returning a string for all versions (@loresuso)
- 867d7ce: fix: create config file directory if needed (@loresuso)
v0.2.0-rc1
Changelog
- 3e3fc65: chore: remove install module command (@leogr)
- f6311ba: chore: clean up old kubernetes stuff (@leogr)
- e65bed6: chore(cmd): internalize validation package (@leogr)
- 2948631: refactor: general refactor and cleanup (@leogr)
- 144a7e2: test(cmd): update CLI test to reflect new impl (@leogr)
- 45508c1: build: upgrade deps (@leogr)
- 89f9d1b: cleanup(cmd): removing commands about PSP convertion (@loresuso)
- 48568a3: cleanup(pkg/converter): removing PSP convertion logic (@loresuso)
- 5e7e427: cleanup: update go.mod and go.sum (@loresuso)
- c5227ad: fix(tests): fixing testdata to pass tests (@loresuso)
- c971d56: doc(README): state that falcoclt is currently under development (@loresuso)
- 183d9d0: new: adds registry types and functions (@andreabonanno)
- fd06b64: new: adds search registry command and its option/config (@andreabonanno)
- 2421e00: update: config file in dedicated directory (@andreabonanno)
- 8dceffa: new: introduce github actions for building, testing and code quality (@loresuso)
- 002cf4d: cleanup: remove circleci (@loresuso)
- 99c2a2c: update: update testdata to pass tests (@loresuso)
- 229855c: chore: fix typos (@andreabonanno)
- 753375f: new: adds "repo add" command and internal representation of repo sources (@andreabonanno)
- d3c3663: update: fix write permissions and typos (@andreabonanno)
- 38f80a0: new: adds repo remove command (@andreabonanno)
- 7dd77c7: fix(cmd): missing dot (@leogr)
- 2a38d47: test(cmd): update test data (@leogr)
- b59757b: new: adds list repo command (@andreabonanno)
- 3a23769: chore(cmd): better output formatting of list repo command (@loresuso)
- 30f73dd: update(cmd/testdata): update testdata to pass tests (@loresuso)
- cdb01fa: update(OWNERS): move inactive approvers to emeritus_approvers (@jasondellaluce)
- 6619707: chore(falcoctl): bump go version to 1.19 (@alacuku)
- 7c4d21c: chore(falcoctl): bump dependecies (@alacuku)
- 46618f6: removed shorthand (@atharva29)
- 12d759f: removed country shorthand (@atharva29)
- 20b3f52: update(tests): fix broken tests (@alacuku)
- 12643eb: chore(docs): remove release notes section from PR template (@alacuku)
- fba071e: feat(CI): add linting (@alacuku)
- 5d20078: new(CI): support building falcoctl for different OSs and archs (@alacuku)
- 3d9e31f: new(Makefile): add new targets to the Makefile (@alacuku)
- 00fc4b4: chore(falcoctl): format and add license header to go files. (@alacuku)
- d207a18: refacto(cli): move 'install tls' business logic in 'install/tls' (@alacuku)
- 40077a5: refactor(cli): remove pkg/tls/generator.go (@alacuku)
- 280f0cc: refacto(cli): remove linux OS specific 'install tls' command (@alacuku)
- 989da56: update(cli): simplify and make the 'install tls' OS agnostic (@alacuku)
- d502313: chore(cli): add doc.go file to the tls package (@alacuku)
- 3890ca2: update(Makefile): lint all files changed from the master branch (@alacuku)
- dd68f13: new(cli): add generic output handler for the commands (@alacuku)
- e037a42: new(tests): add unit tests for the output package. (@alacuku)
- f8eb694: new(pkg/options): add the options packages (@alacuku)
- 7e07734: new(cli): add version command (@alacuku)
- af03b47: new(tests): add unit tests for the version command (@alacuku)
- 34f7d5d: update(Makefile): update the build target to set the version info (@alacuku)
- 2b95e0b: chore(go.mod/sum): update go.mod and go.sum (@alacuku)
- c3023d2: refactor(cli): drop cmd/config_options.go in favor of pkg/options (@alacuku)
- 68cd2c5: refactor(cmd/root): drop custom signal handling for the root cmd (@alacuku)
- 97ab63d: cleanup(cli): remove unused commands and interfaces. (@alacuku)
- 0849885: fix(tests): fix output tests (@alacuku)
- 38e7789: update(build): update goreleaser configuration file (@alacuku)
- f973774: update(CI): use goreleaser in integration pipeline when building falcoctl (@alacuku)
- 28f4470: new(CI): add the release CI workflow (@alacuku)
- d451243: fix(docs): use correct link for slack (@loresuso)
- e04be6d: cleanup: remove repo related commands (@loresuso)
- df332a8: fix: update testdata to pass tests (@loresuso)
- b22e244: new: create new client library. (@loresuso)
- 1cf5af1: new: create a library to store and retrieve credentials on files. (@loresuso)
- 4cf51be: new: implement the login command (@loresuso)
- 7702933: new: implement the logout command (@loresuso)
- 446048d: new: implement the registry umbrella command and add it to root command (@loresuso)
- dc5c9f1: new: create a library to push Falco artifacts to a remote OCI compliant registry (@loresuso)
- 3ab496e: new: create a library to push Falco artifacts to a remote OCI compliant registry (@loresuso)
- 8bca6f5: new: define useful types for the oci pkg (@loresuso)
- c092e6f: new: implement the push command (@loresuso)
- f041fc5: new: implement the pull command (@loresuso)
- e9c86e5: new: add constants to the oci pkg (@loresuso)
- 756cf3e: update: update test data to pass tests (@loresuso)
- 9ec7c3b: update: introduce the doc.go file on each new create package (@loresuso)
- 144e504: update: update go.mod, go.su and .gitignore (@loresuso)
- 6860a91: update: rename config options to common options (@loresuso)
- cbf2125: fix: fix build on windows using os package to get stdin (@loresuso)
- 907c773: fix: go mod tidyness (@loresuso)
- 6707134: fix: golangci/goheader, exclude goheader for multi authors files (@loresuso)
- 690bc97: cleanup(cmd): remove unused code and outdated commands (@alacuku)
- 982c661: update(pkg/oci/pusher): add support for image index manifest (@alacuku)
- 731ba23: update(pkg/oci/puller): handle special case for plugins when image index is present (@alacuku)
- 1ed27ea: update(registry commands): support image index in pull and push cmds (@alacuku)
- b9859f5: update(login/logout): correctly handle context (@alacuku)
- 0b3343b: update(cmd): update register and root command (@alacuku)
- 2501d18: chore(go.mod): update go.mod (@alacuku)
- c2f12a5: chore(tests): update tests based on the latest changes (@alacuku)
- f08acf9: cleanup: remove unused packages and dead code (@alacuku)
- abfead8: fix(pusher): retrieve only the index and not all the layers (@alacuku)
- 7986eaa: update(OWNERS): add new maintainers and reviewers (@jasondellaluce)
- 23a4bf3: update(OWNERS): remove mfdii from reviewers
(@jasondellaluce) - e6ddd81: refactor: rename rule to more appropriate rulesfile (@loresuso)
- b26e929: refactor: rename subcommands of registry to more appropriate registry_* (@loresuso)
- cc37344: chore: allow '_' in the --platform options. needed for pushing/pulling e.g 'x86_64' (@loresuso)
- 60f0e5f: new(pkg): introduce a function to download a remote index (@loresuso)
- faf9353: new(pkg): create a library to manage indexes (@loresuso)
- 88e47bf: new(pkg): create a library to manage index configs (@loresuso)
- 7488a2f...