Allow for console error and warn and fail for everything else.
Remove disable rules for console.
Co-authored-by: Angelo Cordon <angelo.cordon@hashicorp.com>
* actions(runners): add backup self-hosted runner types
We've previously added backup runner types for various self-hosted
runners but were not exhaustive. This change adds at least one backup
instance type to each specified on-demand runner type.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* removing explicit GCP credentials checks to allow for GCP WIF authentication, in line with AWS KMS functionality
* upd: updated changelog for GCP managed keys in core
---------
Co-authored-by: Steven Clark <steven.clark@hashicorp.com>
Co-authored-by: rizkybiz <justin.defrank@gmail.com>
* no-op commit
* merging changes from ent
* deleting ent file
* moving licensing config back
* Revert "moving licensing config back"
This reverts commit 8856cd7d5d334355610782e500ebcd4438ff89b3.
* adding back licensing config to original state (#11925)
---------
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
Co-authored-by: akshya96 <araghavan@hashicorp.com>
- actions/cache -> v5.0.2: A bugfix around not retrying cache entries on
429s.
- actions/setup-go -> v6.2.0: NodeJS bump and internal actions/cache
bump. We don't use the caching in setup-go so this ought to have no
impact for us.
- actions/setup-node -> v6.2.0: internal bump of actions/cache.
- pnpm/action-setup -> v4.2.0: Adds support for .npmrc file.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* converts kmip credentials index route to ts
* updates kmip credentials route to use api service
* adds kmip credentials page component
* converts kmip credentials show route to ts
* updates kmip credentials show route to use api service and adds page component
* fixes flash message issue on kmip role form submit success
* converts kmip credentials generate route to ts
* reverts kmip credentials show page component in favor of details-credentials component which is also used in generate route
* fixes kmip details-credentials tests
* update kmip credentials generate route to use api service and updates page component
* removes store and pagination services from kmip engine
* converts kmip breadcrumb component to ts
* converts kmip header scope component to ts
* removes kmip Ember Data models and adapters
* removes store reference from kmip acceptance tests
* fixes issues routing back to secrets engine via breadcrumb in kmip roles and credentials routes
* removes kmip role adapter test
* updates open api helpers tests
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* move utils to a folder
* separate methods for serializing
* separate test coverage too
* make formatQueryParams a separate util
* use api service to request export data
* consolidate error templates
* move export request to parent route
* replace EmptyState with ApplicationState
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add automation snippets to policy and convert to page component
* only show for acl types
* remove unnecessary tag
* update test coverage
* last fix, oops!
* wait for dropdown to close
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* converts kmip credentials index route to ts
* updates kmip credentials route to use api service
* adds kmip credentials page component
* converts kmip credentials show route to ts
* updates kmip credentials show route to use api service and adds page component
* fixes flash message issue on kmip role form submit success
* converts kmip credentials generate route to ts
* reverts kmip credentials show page component in favor of details-credentials component which is also used in generate route
* fixes kmip details-credentials tests
* update kmip credentials generate route to use api service and updates page component
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* updates kmip scope roles route to ts
* updates kmip scope roles route to use api service and adds page component
* converts kmip role route to ts
* fixes a11y error in kmip header-credentials component
* updates kmip role route to use api service and adds page component
* removes kmip operation-field-display component that was moved into role page component
* converts kmip role create route to ts
* moves kmip role form component to component directory root
* converts kmip role form component to ts
* adds operation-groups helper and refactors kmip role page to use it
* adds operation-label helper and updates kmip role page to use it
* converts kmip edit role route to ts
* updates kmip role test to use operation-groups helper
* adds kmip role form
* updates kmip role edit and create routes to use api service and form class
* updates kmip role form component to work with form class
* updates kmip acceptance tests
* fixes flash message issue on kmip role form submit success
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* add support for initializing with capability paths
* only render flyout for enterprise versions
* update PolicyStanza to support object
* add policy generator to kv
* only set preset stanzas if no changes have been made
* add test coverage for kv adding policy generate to page headers
* add community test
* add test coverage to capabilities service
* add changelog
* add close callback
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Replace direct use of hds::pageheader with page::header
* Update test selector
* Remove unused selector
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* converts kmip scopes index route to ts
* adds capabilities service to kmip engine
* updates kmip scopes index route to use api service
* adds kmip scopes page component
* adds kmip scopes create page component
* adds pagination component to scopes page
* adds tests for kmip scopes page component
* fixes path for kmip scope capabilities in scopes route
* fixes issue with linked block linkPrefix in kmip scopes page
Co-authored-by: Jordan Reimer <zofskeez@gmail.com>
* Validate that certificate of the connection is the same as the certificate we are trying to renew for.
* add changelog
* Add explicit check for nil-entry.
* Remove the cast - PR feedback.
Co-authored-by: Kit Haines <khaines@mit.edu>
* Added kv HWM metrics and a local test
* Added go docs and some helper functions
* Just added kv secret hwm to endpoint for tracking
* Fixed some small things and added one more test
* Fix a race test
* Added require'
Co-authored-by: divyaac <divya.chandrasekaran@hashicorp.com>
* VAULT-40965 async option for scan API
* whoopsie
* whoopsie
* add test, return accepted (for real), fix docs
* Add extra time
* make test more resilient
Co-authored-by: Violet Hynes <violet.hynes@hashicorp.com>
* parse error
* add test coverage
* update test so original code fails the same way
* remove unused vars
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Sometimes our CI slack message outputs the wrong information, most
notably the data race failure when only UI tests run but the UI tests
fail. In an effort to fix this false positive I noticed that there are
several error cases we didn't consider when creating the notification.
Now we only report which failures were detected in the message.
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "identity" directory
* reverted top margin spacing to use top padding instead
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* IBM License key integration: config file changes (#11509)
* adding config changes for ibm license entitlement
* added ibm licensing_ent_test
* adding newlicensing test
* fix TestLicenseEntitlementConfig test
* Update vault/core_util_ent.go
Co-authored-by: Jenny Deng <jenny.deng@hashicorp.com>
* Update vault/licensing_ent.go
Co-authored-by: Jenny Deng <jenny.deng@hashicorp.com>
* fixing name GenerateHashicorpTestLicenseConfig
* remove local vscode settings
* add a func to create entitlements and a sample ibm license
---------
Co-authored-by: Jenny Deng <jenny.deng@hashicorp.com>
* go mod tidy
* adding issueroptions to ce
---------
Co-authored-by: akshya96 <87045294+akshya96@users.noreply.github.com>
Co-authored-by: Jenny Deng <jenny.deng@hashicorp.com>
Co-authored-by: akshya96 <araghavan@hashicorp.com>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "clients" directory
* added missing data-test values to HDS:ApplicationState header and body
* reverted top margin spacing to use top padding instead
* updated class for consistent spacing and added icon & errorCode args
* fixed failing test
* fixed vertical alignment for Hds Application State error
* fixed failing test case
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>