open-vault/command
Hridoy Roy 28aa9b9175
Diagnoses Consul Direct Access Check (#11505)
* Create helpers which integrate with OpenTelemetry for diagnose collection

* Go mod vendor

* consul tls checks

* draft for storage end to end check

* Comments

* Update vault/diagnose/helpers.go

Co-authored-by: swayne275 <swayne275@gmail.com>

* Add unit test/example

* tweak output

* More comments

* add spot check concept

* Get unit tests working on Result structs

* Fix unit test

* Get unit tests working, and make diagnose sessions local rather than global

* Comments

* Last comments

* No need for init

* :|

* Fix helpers_test

* cleaned up chan logic. Tests next.

* fix tests

* remove a comment

* tests

* remove a comment

* run direct access checks in diagnose command

* review comments

Co-authored-by: Scott G. Miller <smiller@hashicorp.com>
Co-authored-by: swayne275 <swayne275@gmail.com>
2021-05-02 16:21:06 -07:00
..
agent Update Agent Auth with GCP to use new SignJWT endpoint (#11473) 2021-04-30 15:45:06 -05:00
config Ensure that the .vault-token file writen by `vault login` always has the correct permissions and ownership. (#8867) 2020-04-27 19:55:13 -04:00
server Diagnoses Consul Direct Access Check (#11505) 2021-05-02 16:21:06 -07:00
test-fixtures
token Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
agent.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
agent_test.go Fix flakey TestAgent_Template_Retry test (#11332) 2021-04-09 12:11:01 -07:00
approle_concurrency_integ_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
audit.go
audit_disable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_disable_test.go
audit_enable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_enable_test.go Send a test message before committing a new audit device. (#10520) 2020-12-16 16:00:32 -06:00
audit_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_list_test.go
auth.go
auth_disable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth_disable_test.go
auth_enable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth_enable_test.go rename pcf to cf maintaining backwards compat (#7346) 2019-08-26 09:55:08 -07:00
auth_help.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth_help_test.go
auth_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth_list_test.go
auth_test.go
auth_tune.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth_tune_test.go
base.go Autopilot: Server Stabilization, State and Dead Server Cleanup (#10856) 2021-03-03 13:59:50 -05:00
base_flags.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
base_flags_test.go Bool pointer flag (#10988) 2021-02-24 10:45:03 -05:00
base_helpers.go Two minor changes not reflected OSS side (#11020) 2021-02-26 14:23:56 -06:00
base_helpers_test.go Merge PR #9060: Support reading Raft TLS flags from file 2020-05-23 11:09:55 -04:00
base_predict.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
base_predict_test.go Bundle new Vault plugin: Terraform secrets (#10931) 2021-02-19 16:38:56 -06:00
command_test.go Shutdown Test Cores when Tests Complete (#10912) 2021-02-12 13:04:48 -07:00
commands.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
commands_nonwindows.go
commands_windows.go
config.go
config_test.go
debug.go Add support for unauthenticated pprof access on a per-listener basis,… (#11324) 2021-04-19 14:30:59 -04:00
debug_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
delete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
delete_test.go logical: add support for passing data to delete (#7139) 2019-07-18 10:42:36 -07:00
format.go Fix a few static analysis findings (#11307) 2021-04-07 16:48:40 -07:00
format_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv.go
kv_delete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_destroy.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_enable_versioning.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_get.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_helpers.go Fix a panic caused by a nil response on kv pre-flight (#6675) 2019-05-03 09:10:41 -07:00
kv_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_metadata.go Add delete-version-after to kv CLI subcommands 2019-06-27 14:17:46 -04:00
kv_metadata_delete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_metadata_get.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_metadata_put.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_metadata_put_test.go Prevent panic due to upgrading existing `kv` mount to v2. (#9536) 2020-07-20 16:35:26 -04:00
kv_patch.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_put.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_rollback.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
kv_undelete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
lease.go
lease_lookup.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
lease_lookup_test.go Add command to look up a lease by ID (#11129) 2021-03-18 11:11:09 -05:00
lease_renew.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
lease_renew_test.go
lease_revoke.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
lease_revoke_test.go
list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
list_test.go Fix KV list command with whitespaces (#8017) 2020-11-23 12:38:14 -07:00
login.go Fixed github-prod path (#7516) 2019-09-26 08:46:41 -04:00
login_test.go Ignore any existing token during CLI login (#7508) 2019-09-25 10:59:42 -07:00
main.go add a reader that takes stdin (#7074) 2019-07-05 13:36:44 -07:00
monitor.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
monitor_test.go Add a new "vault monitor" command (#8477) 2020-05-21 13:07:50 -07:00
namespace.go
namespace_create.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
namespace_delete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
namespace_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
namespace_lookup.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator.go
operator_diagnose.go Diagnoses Consul Direct Access Check (#11505) 2021-05-02 16:21:06 -07:00
operator_diagnose_test.go Diagnoses Consul Direct Access Check (#11505) 2021-05-02 16:21:06 -07:00
operator_generate_root.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_generate_root_test.go Update tests to reflect new HC public pgp keys. (#11446) 2021-04-23 12:32:46 -04:00
operator_init.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_init_test.go Shamir seals now come in two varieties: legacy and new-style. (#7694) 2019-10-18 14:46:00 -04:00
operator_key_status.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_key_status_test.go
operator_migrate.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_migrate_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_autopilot_get_config.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_autopilot_set_config.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_autopilot_state.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_join.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_listpeers.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_remove_peer.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_snapshot.go Raft cli docs (#8548) 2020-03-17 09:46:44 -04:00
operator_raft_snapshot_restore.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_raft_snapshot_save.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_rekey.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_rekey_test.go Update tests to reflect new HC public pgp keys. (#11446) 2021-04-23 12:32:46 -04:00
operator_seal.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_seal_test.go
operator_step_down.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_step_down_test.go
operator_unseal.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
operator_unseal_test.go
operator_usage.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_help.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
path_help_test.go
path_map_upgrade_api_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
pgp_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin.go
plugin_deregister.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_deregister_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_info.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_info_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_list_test.go
plugin_register.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_register_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin_reload.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_reload_status.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_reload_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy.go
policy_delete.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_delete_test.go
policy_fmt.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_fmt_test.go
policy_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_list_test.go
policy_read.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_read_test.go
policy_write.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_write_test.go
print.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
print_token.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
read.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
read_test.go
rotate.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
rotate_test.go
secrets.go
secrets_disable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_disable_test.go
secrets_enable.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_enable_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_list.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_list_test.go
secrets_move.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_move_test.go
secrets_tune.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
secrets_tune_test.go
server.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
server_noprofile.go
server_profile.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
server_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
server_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
ssh.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
ssh_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
status.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
status_test.go
token.go
token_capabilities.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
token_capabilities_test.go
token_create.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
token_create_test.go
token_lookup.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
token_lookup_test.go
token_renew.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
token_renew_test.go Add ability to renew by accessor (#7817) 2019-11-08 11:32:01 -05:00
token_revoke.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
token_revoke_test.go
unwrap.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
unwrap_test.go
util.go
version.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
version_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
write.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
write_test.go