Commit Graph

3676 Commits (8e9773e20b0ee92cc2a5d34f9b5b52546a4c7b58)

Author SHA1 Message Date
freddygv d90e30f009 Update spiffe ID patterns used for RBAC
3 years ago
freddygv 5e54f253d7 Expand testing of simplifyNotSourceSlice for partitions
3 years ago
freddygv 19da23be28 Expand testing of removeSameSourceIntentions for partitions
3 years ago
freddygv beab0cd962 Account for partition when matching src intentions
3 years ago
Daniel Nephin 1f9479603c
Add failures_before_warning to checks (#10969)
3 years ago
Dhia Ayachi b4d5860197
convert expiration indexed in ACLToken table to use `indexerSingle` (#11018)
3 years ago
Dhia Ayachi 11f44dfcf8
add locality indexer partitioning (#11016)
3 years ago
Dhia Ayachi ba4ee6e67c
convert `indexAuthMethod` index to use `indexerSingle` (#11014)
3 years ago
Paul Banks b38e84df63 Include namespace and partition in error messages when validating ingress header manip
3 years ago
Paul Banks 1079089f20 Refactor HTTPHeaderModifiers.MergeDefaults based on feedback
3 years ago
Paul Banks 9e4e204e96 Fix enterprise test failures caused by differences in normalizing EnterpriseMeta
3 years ago
Paul Banks 3004eadd08 Fix enterprise discovery chain tests; Fix multi-level split merging
3 years ago
Paul Banks b5ae00d753 Remove unnecessary check
3 years ago
Paul Banks f1c0876b4c Fix discovery chain test fixtures
3 years ago
Paul Banks 1b9632531a Integration tests for all new header manip features
3 years ago
Paul Banks e22cc9c53a Header manip for split legs plumbing
3 years ago
Paul Banks 83fc8723a3 Header manip for service-router plumbed through
3 years ago
Paul Banks f439dfc04f Ingress gateway header manip plumbing
3 years ago
Paul Banks d776a2d236 Add HTTP header manip for router and splitter entries
3 years ago
Paul Banks 46e4041283 Header manip and validation added for ingress-gateway entries
3 years ago
Dhia Ayachi 6cac30aa22
convert `Roles` index to use `indexerMulti` (#11013)
3 years ago
Dhia Ayachi f3f0654038
convert indexPolicies in ACLTokens table to the new index (#11011)
3 years ago
Dhia Ayachi 584faec6e3
convert indexSecret to the new index (#11007)
3 years ago
Dhia Ayachi 6e6cf1c043
convert indexAccessor to the new index (#11002)
3 years ago
Hans Hasselberg 13238dbab6
tls: consider presented intermediates during server connection tls handshake. (#10964)
3 years ago
Chris S. Kim 9bbfa048a2
Sync enterprise changes to oss (#10994)
3 years ago
Kyle Havlovitz a14950025a
Merge pull request #10984 from hashicorp/mesh-resource
3 years ago
Dhia Ayachi bc0e4f2f46
partition dicovery chains (#10983)
3 years ago
Daniel Nephin f063402b29 acl: remove ACL.IsSame
3 years ago
Daniel Nephin d63cef1219 acl: remove legacy ACL replication
3 years ago
R.B. Boyer ee372a854a acl: adding a new mesh resource
3 years ago
Dhia Ayachi ced8329d80
try to infer command partition from node partition (#10981)
3 years ago
Dhia Ayachi 09197c989c
add partition to SNI when partition is non default (#10917)
3 years ago
Freddy 8d83d27674
connect: update envoy supported versions to latest patch release
3 years ago
Evan Culver 79c7e73618
rpc: authorize raft requests (#10925)
3 years ago
hc-github-team-consul-core cd3333ad6a auto-updated agent/uiserver/bindata_assetfs.go from commit eeeb91bea
3 years ago
Chris S. Kim 1a9b2f09dd
ent->oss test fix (#10926)
3 years ago
hc-github-team-consul-core 2d66c4ea13 auto-updated agent/uiserver/bindata_assetfs.go from commit a907e1d87
3 years ago
hc-github-team-consul-core a163051dbb auto-updated agent/uiserver/bindata_assetfs.go from commit a0b0ed2bc
3 years ago
Chris S. Kim 45dcc8b553
api: expose upstream routing configurations in topology view (#10811)
3 years ago
R.B. Boyer a6d22efb49
acl: some acl authz refactors for nodes (#10909)
3 years ago
hc-github-team-consul-core 11b1dc1f97 auto-updated agent/uiserver/bindata_assetfs.go from commit a777b0a9b
3 years ago
hc-github-team-consul-core 5e31421602 auto-updated agent/uiserver/bindata_assetfs.go from commit 8192dde48
3 years ago
R.B. Boyer 5b6d96d27d
grpc: ensure that streaming gRPC requests work over mesh gateway based wan federation (#10838)
3 years ago
hc-github-team-consul-core 4993d877d9 auto-updated agent/uiserver/bindata_assetfs.go from commit 05a28c311
3 years ago
freddygv 01936ddb70 Avoid passing zero value into variadic
3 years ago
freddygv f52bd80f6d Update comment for test function
3 years ago
freddygv af52d21884 Update prepared query cluster SAN validation
3 years ago
freddygv 85878685b7 Fixup proxy config test fixtures
3 years ago
R.B. Boyer fb27c1b24f
agent: add partition labels to catalog API metrics where appropriate (#10890)
3 years ago
R.B. Boyer d66a43f5f2
fixing various bits of enterprise meta plumbing to be more correct (#10889)
3 years ago
Dhia Ayachi 1950ebbe1f
oss portion of ent #1069 (#10883)
3 years ago
R.B. Boyer ac41e30614
state: partition the nodes.uuid and nodes.meta indexes as well (#10882)
3 years ago
R.B. Boyer 097e1645e3
agent: ensure that most agent behavior correctly respects partition configuration (#10880)
3 years ago
Daniel Nephin 271352dbb7
Merge pull request #10849 from hashicorp/dnephin/contrib-doc-xds-auth
3 years ago
R.B. Boyer e44bce3c4f
state: partition the usage metrics subsystem (#10867)
3 years ago
Daniel Nephin 8252a2691c xds: document how authorization works
3 years ago
R.B. Boyer 613dd7d053
state: adjust streaming event generation to account for partitioned nodes (#10860)
3 years ago
R.B. Boyer 310e775a8a
state: partition nodes and coordinates in the state store (#10859)
3 years ago
Daniel Nephin 01bf115c2b acl: small improvements to ACLResolver disable due to RPC error
3 years ago
Daniel Nephin d5498770fa acl: make ACLDisabledTTL a constant
3 years ago
Daniel Nephin abd2e160f9 Fix test failures
3 years ago
Daniel Nephin 17841248dd config: remove ACLResolver settings from RuntimeConfig
3 years ago
Daniel Nephin 31e034215f acl: remove ACLResolver config fields from consul.Config
3 years ago
Daniel Nephin d4701903f6 acl: replace ACLResolver.Config with its own struct
3 years ago
Daniel Nephin c2b24adb5f acl: remove ACLRulesTranslateLegacyToken API endpoint
3 years ago
Daniel Nephin b7bced9bcf acl: remove legacy bootstrap
3 years ago
Daniel Nephin 858071d55a agent: update some tests that were using legacy ACL endpoints
3 years ago
Daniel Nephin 7ecd2e5466 http: update legacy ACL endpoints to return an error
3 years ago
Daniel Nephin 9671dd6b97 acl: add some notes about removing legacy ACL system
3 years ago
Daniel Nephin 887d11923b
Merge pull request #10792 from hashicorp/dnephin/rename-authz-vars
3 years ago
Daniel Nephin c85c62dffb
Merge pull request #10807 from hashicorp/dnephin/remove-acl-datacenter
3 years ago
Daniel Nephin e637cd71f3 acl: use authz consistently as the variable name for an acl.Authorizer
3 years ago
hc-github-team-consul-core ed85684d96 auto-updated agent/uiserver/bindata_assetfs.go from commit ae9c31338
3 years ago
Kyle Havlovitz fa5df0349d
Merge pull request #10843 from hashicorp/partitions/rename-default
3 years ago
Kyle Havlovitz 073b6c8411 oss: Rename default partition
3 years ago
Daniel Nephin 0575498d0d proxycfg: Lookup the agent token as a default
3 years ago
Daniel Nephin b313f495b8 proxycfg: Add a test to show the bug
3 years ago
Mike Morris 3bae53a989
deps: upgrade gogo-protobuf to v1.3.2 (#10813)
3 years ago
Mark Anderson d3cebbd32c
Fixup to support unix domain socket via command line (#10758)
3 years ago
hc-github-team-consul-core 199e850d16 auto-updated agent/uiserver/bindata_assetfs.go from commit ab6a67520
3 years ago
Daniel Nephin 67fc97522f server: remove defaulting of PrimaryDatacenter
3 years ago
Daniel Nephin d3325b0253
Merge pull request #10612 from bigmikes/acl-replication-fix
3 years ago
Daniel Nephin 7160f7a614 acl: remove ACLDatacenter
3 years ago
Giulio Micheloni d4a3fe33e8 String type instead of error type and changelog.
3 years ago
Daniel Nephin b837ba35a0 acl: remove Server.ResolveTokenIdentityAndDefaultMeta
3 years ago
Daniel Nephin 6cf6e7c5fe acl: remove Server.ResolveTokenToIdentityAndAuthorizer
3 years ago
Daniel Nephin cc4f155801 acl: recouple acl filtering from ACLResolver
3 years ago
Daniel Nephin 111f3620a8 acl: remove unused error return
3 years ago
Daniel Nephin c0100543d0 acl: rename acl.Authorizer vars to authz
3 years ago
Daniel Nephin 4f5477ccfa acl: move vet functions
3 years ago
Daniel Nephin c4eadb6b96 acl: move vetRegisterWithACL and vetDeregisterWithACL
3 years ago
Daniel Nephin 1deba421c7
Merge pull request #10770 from hashicorp/dnephin/log-cert-expiration
3 years ago
Daniel Nephin 0c42b38c92
Merge pull request #10793 from hashicorp/dnephin/acl-intentions
3 years ago
Dhia Ayachi b495036823
defer setting the state before returning to avoid stuck in `INITIALIZING` state (#10630)
3 years ago
Daniel Nephin e94016872a
Merge pull request #10768 from hashicorp/dnephin/agent-tls-cert-expiration-metric
3 years ago
Daniel Nephin c718de730b acl: remove special handling of services in txn_endpoint
3 years ago
hc-github-team-consul-core af9acf4943 auto-updated agent/uiserver/bindata_assetfs.go from commit bcd53e73a
3 years ago
Daniel Nephin 5b2e5882b4 acl: move check for Intention.DestinationName into Authorizer
3 years ago
Daniel Nephin bbce192b4d
Merge pull request #10738 from hashicorp/dnephin/remove-authorizer-nil-checks-2
3 years ago
Daniel Nephin 9cdd823ffc
Merge pull request #10737 from hashicorp/dnephin/remove-authorizer-nil-checks
3 years ago
Daniel Nephin 0e58e1ac4b telemetry: add log message when certs are about to expire
3 years ago
Daniel Nephin 9420506fae telemetry: fix a couple bugs in cert expiry metrics
3 years ago
Daniel Nephin 8c575445da telemetry: add a metric for agent TLS cert expiry
3 years ago
Dhia Ayachi cfa9cf6d84
fix state index for `CAOpSetRootsAndConfig` op (#10675)
3 years ago
hc-github-team-consul-core 2f6c95011b auto-updated agent/uiserver/bindata_assetfs.go from commit 8ad1ab9c0
3 years ago
Evan Culver 710bd90ef7
checks: Add Interval and Timeout to API response (#10717)
3 years ago
Daniel Nephin 8cf1aa1bda acl: Remove the remaining authz == nil checks
3 years ago
Daniel Nephin dc50b36b0f acl: remove acl == nil checks
3 years ago
Daniel Nephin 4f1a36629a acl: remove authz == nil checks
3 years ago
Daniel Nephin f497d5ab30 acl: remove many instances of authz == nil
3 years ago
Daniel Nephin b8ae00c23b agent: remove unused agent methods
3 years ago
Daniel Nephin 9dd6d26d05 acl: remove rule == nil checks
3 years ago
hc-github-team-consul-core 323039dd06 auto-updated agent/uiserver/bindata_assetfs.go from commit 2ee501be8
3 years ago
Daniel Nephin 97fed47708
Merge pull request #10632 from hashicorp/pairing/acl-authorizer-when-acl-disabled
3 years ago
Evan Culver 727b81a757 Fix intention endpoint test
3 years ago
Daniel Nephin 84fac3ce0e acl: use acl.ManangeAll when ACLs are disabled
3 years ago
Blake Covarrubias 11f1f3fe34 Add OSS changes for specifying audit log permission mode
3 years ago
Daniel Nephin d2b58cd0d6
Merge pull request #10707 from hashicorp/dnephin/streaming-setup-default-timeout
3 years ago
Daniel Nephin 242b3a2dc5 streaming: set a default timeout
3 years ago
hc-github-team-consul-core 9c33505aef auto-updated agent/uiserver/bindata_assetfs.go from commit eb5512fb7
3 years ago
Chris S. Kim 9c3af1a429
sync enterprise files with oss (#10705)
3 years ago
Daniel Nephin 8cfbc8e7c9 http: don't log an error if the request is cancelled
3 years ago
Daniel Nephin a0b114968e
Merge pull request #10399 from hashicorp/dnephin/debug-stream-metrics
3 years ago
Daniel Nephin e58a074bde http: add tests for AgentMetricsStream
3 years ago
Daniel Nephin beea1c2218 http: emit indented JSON in the metrics stream endpoint
3 years ago
Daniel Nephin c3149ec0fd debug: use the new metrics stream in debug command
3 years ago
Freddy ff9700b068
Reset root prune interval after TestLeader_CARootPruning completes
3 years ago
Chris S. Kim 91c90a672a
agent: update proxy upstreams to inherit namespace from service (#10688)
3 years ago
Freddy 19f6e1ca31
Log the correlation ID when blocking queries fire (#10689)
3 years ago
R.B. Boyer 3343c7cb3a
state: refactor some node/coordinate state store functions to take an EnterpriseMeta (#10687)
3 years ago
R.B. Boyer 96b97d6554
replumbing a bunch of api and agent structs for partitions (#10681)
3 years ago
R.B. Boyer fc9b1a277d
sync changes to oss files made in enterprise (#10670)
3 years ago
R.B. Boyer 188e8dc51f
agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669)
3 years ago
Dhia Ayachi c6859b3fb0
config raft apply silent error (#10657)
3 years ago
Freddy cf4821885d
Avoid panic on concurrent writes to cached service config map (#10647)
3 years ago
hc-github-team-consul-core 139717d3f8 auto-updated agent/uiserver/bindata_assetfs.go from commit 1eb7a83ee
3 years ago
Blake Covarrubias a0cd3dd88e
Add DNS recursor strategy option (#10611)
3 years ago
Daniel Nephin 499250cbf1
Merge pull request #10396 from hashicorp/dnephin/fix-more-data-races
3 years ago
Daniel Nephin 1c8ac9cd4b
Merge pull request #10009 from hashicorp/dnephin/trim-dns-response-with-edns
3 years ago
Daniel Nephin a77575e93e acl: use SetHash consistently in testPolicyForID
3 years ago
Daniel Nephin 4bf58d8e6a dns: improve naming of error to match DNS terminology
3 years ago
Dhia Ayachi f0cd1441a9 fix truncate when NS is set
3 years ago
Evan Culver 0527dcff57
acls: Show `AuthMethodNamespace` when reading/listing ACL token meta (#10598)
3 years ago
Daniel Nephin bb675139c1
Merge pull request #10567 from hashicorp/dnephin/config-unexport-build
3 years ago
Freddy 12b7e07d5c
Merge pull request #10621 from hashicorp/vuln/validate-sans
3 years ago
Daniel Nephin bb7fb21004
Fix godoc comment
3 years ago
R.B. Boyer 20feb42d3a
xds: ensure single L7 deny intention with default deny policy does not result in allow action (CVE-2021-36213) (#10619)
3 years ago
hc-github-team-consul-core 58807668bd auto-updated agent/uiserver/bindata_assetfs.go from commit 0762da3a6
3 years ago
Giulio Micheloni 814ef6b103 acl: fix error type into a string type for serialization issue
3 years ago