hc-github-team-secure-vault-core
185548cdf3
backport of commit 1884267e0f03f5e44c1100d3f5c790050068a9b3 ( #27166 )
...
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-05-22 11:46:48 -07:00
hc-github-team-secure-vault-core
b3c2fe64e0
add reload census changes ( #26456 ) ( #26465 )
...
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-04-17 12:08:37 -07:00
hc-github-team-secure-vault-core
966e70037b
Backport of adding retention months to census reports CE into release/1.14.x ( #26424 )
...
* adding retention months to census reports CE (#26405 )
* adding retention months to census reports CE changes
* using stubmaker
* make fmt
* change reload census agent to reload census
* remove stubmaker file
---------
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
Co-authored-by: akshya96 <araghavan@hashicorp.com>
2024-04-15 15:30:18 -07:00
hc-github-team-secure-vault-core
c6685a49d0
Change minimum retention window CE changes ( #26118 ) ( #26144 )
...
* Retention window oss changes
* latest oss changes
* remove operator_diagnose change
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-04-12 09:15:17 -07:00
akshya96
54a10a5b3a
Revert "Revert manual license reporting changes from 1.14.x" ( #25139 )
...
* Revert "Revert manual license reporting changes from 1.14.x"
* cherry pick api changes
* manual reporting cli oss changes (#25109 )
* fix cmd changes
* revert go.mod and go.sum
* remove extra change from logical_system.go
---------
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
2024-02-01 15:03:55 -08:00
akshya96
31118a8449
Revert manual license reporting changes from 1.14.x ( #25085 )
...
* Revert "backport of commit 0e227bf0d75bc680439ea3b8a080c0cccc700015 (#25064 )"
This reverts commit 28fa6d0fd9
.
* Revert "manual licese reporting persist snapshots CE (#25021 ) (#25050 )"
This reverts commit ac786547c2
.
* Revert "backport of commit bc9be554cb4cc991a4e8d4bc806751cb4609c984 (#24850 )"
This reverts commit 53ed1f9919
.
2024-01-25 15:11:25 -08:00
hc-github-team-secure-vault-core
53ed1f9919
backport of commit bc9be554cb4cc991a4e8d4bc806751cb4609c984 ( #24850 )
...
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
2024-01-18 19:44:49 +00:00
hc-github-team-es-release-engineering
48ab1eae08
[DO NOT MERGE UNTIL EOY] EOY license fixes 1.14.x ( #24390 )
2024-01-02 10:36:20 -08:00
hc-github-team-secure-vault-core
0f58c6f3e0
backport of commit 3a46ecc389e9096ccea6c6f847b68ada7f8068d7 ( #21362 )
...
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
2023-06-21 14:01:13 +00:00
Mike Palmiotto
810d504e4f
Add current_billing_period activity endpoint param ( #20694 )
...
* Add current_billing_period activity endpoint param
This commit introduces a new parameter: `current_billing_period`, which
can be used in lieu of `start_time` and `end_time` options.
GET ... /sys/internal/counters/activity?current_billing_period=true now
results in a response which contains the full billing period
information.
* changelog
* Update internal counters docs
2023-05-22 09:22:45 -04:00
miagilepner
35e2c1665f
VAULT-15703: Reload automated reporting ( #20680 )
...
* support config reloading for census
* changelog
* second changelog entry for license updates
* correct changelog PR
2023-05-19 14:42:50 +00:00
Mike Palmiotto
77f83d9fe8
Refactor reporter for unseal setup ( #20296 )
2023-04-21 15:29:37 -04:00
Mike Palmiotto
002a59a370
Add minimum_retention_months to config endpoint ( #20150 )
2023-04-13 18:33:23 +00:00
Anton Averchenkov
75c903f0d6
openapi: Add display attributes for /sys (p2) ( #19707 )
2023-04-13 11:32:57 -04:00
miagilepner
c95d4fb15a
VAULT-14734: activity log write endpoint ( #20019 )
...
* add noop endpoint with testonly build flag
* add tests for endpoint
* cleanup
* fix test name
* add changelog
* pr fixes
2023-04-12 18:26:26 +02:00
Mike Palmiotto
05ba6bbddd
api: Add reporting fields to activitylog config endpoint ( #20086 )
...
This PR adds the internal reporting state to the
`internal/counters/config` read endpoint:
* reporting_enabled
* billing_start_timestamp
2023-04-12 12:02:28 -04:00
miagilepner
4b6ec4079d
Require activity log retention months at least the minimum ( #20078 )
...
* reject retention month updates that are less than min retention months
* add changelog
* reword error
* switch to retention_months
2023-04-11 15:09:01 +00:00
miagilepner
b4fab6ac2a
VAULT-13191: OSS changes ( #19891 )
...
* add open source changes for reporting
* fix function signature
* add changelog
2023-03-31 15:05:16 +00:00
Hamid Ghaf
e55c18ed12
adding copyright header ( #19555 )
...
* adding copyright header
* fix fmt and a test
2023-03-15 09:00:52 -07:00
Josh Black
b8de2c2b4e
De-duplicate namespaces when historical and current month data are mixed ( #18452 )
...
* De-duplicate namespaces when historical and current month data are mixed
* add changelog
2022-12-16 16:02:42 -08:00
akshya96
c88c73e508
Activity Log Filtering Limit Parameter ( #16000 )
...
* adding changes from ent branch
* adding fmt changes
* adding changelog
2022-06-15 15:41:31 -07:00
Brian Kassouf
70551bf26c
Add an API for exporting activity log data ( #15586 )
...
* Add an API for exporting activity log data
* Add changelog entry
* Switch to error logs
2022-05-24 17:00:46 -07:00
Vishal Nayak
d9407b4276
OSS Port: Activity log breakdowns ( #14160 )
...
* Activity log breakdowns
* s/path/namespace_path
* Remove ent specific tests
2022-02-18 13:01:28 -05:00
Hridoy Roy
b5bcfe619b
Port: Allow Routing to Partial Monthly Client Count From Namespaces ( #13086 )
...
* add function for routing activity log client counts to ent namespaces
* changelog
2021-11-08 15:38:35 -08:00
akshya96
650cf8a412
Vault 2823 cc namespace ( #12393 )
...
* vault-2823 adding changes
* VAULT-2823 adding alias
* Vault-2823 addressing comments
* Vault-2823 removing comments
* Vault-2823 removing comments
* vault-2823 removing q debug
* adding changelog
* Vault-2823 updating external test
* adding approved changes
* fixing returns
* fixing returns
2021-09-07 09:16:12 -07:00
Brian Kassouf
a24653cc5c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
swayne275
c4884422f1
fix end date calculation ( #11232 )
2021-03-30 09:58:45 -06:00
swayne275
0e0e06fc8f
Add Partial Month Client Count API for Activity Log ( #11022 )
...
* sketch out partial month activity log client API
* unit test partialMonthClientCount
* cleanup api
* add api doc, fix test, update api nomenclature to match existing
* cleanup
* add PR changelog file
* integration test for API
* report entities and tokens separately
2021-03-01 16:15:59 -07:00
swayne275
077225fe0b
Fix setting Activity Log enable flag through the API ( #10594 )
...
* fix setting enable, update tests
* improve wording
* fix typo - left the testing enabled set in originally
* improve warning handling
* move from nested if to switch - TIL
2020-12-18 11:20:32 -07:00
Aleksandr Bezobchuk
05e69e9bf6
core: add warning when disabling activity ( #10485 )
2020-12-15 14:11:28 -05:00
Brian Kassouf
3bc7d15e6b
Backport some OSS changes ( #10267 )
...
* Backport some OSS changes
* go mod vendor
2020-10-29 16:47:34 -07:00