Skip to content

Conversation

@cwperks
Copy link
Owner

@cwperks cwperks commented Jun 26, 2025

Description

Run the example test with ./gradlew :integrationTest --tests GrpcTests -i

Currently its failing with a timeout.

Check List

  • New functionality includes testing
  • New functionality has been documented
  • New Roles/Permissions have a corresponding security dashboards plugin PR
  • API changes companion pull request created
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

finnegancarroll and others added 29 commits June 25, 2025 11:52
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Moving CertType from enum to class to enable dynamic additions of new
cert types as aux transports are not known on initialization of security
plugin and require distinct certificate configurations.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
…ypes.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
Additionally move CertType specification to constructor and filter settings
within loader constructor.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Where id is the last element of the setting prefix.
i.e. http, transport-client, transport, grpc...

Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Certificate structure was never checked in this test suite due to the usage of
CertType.HTTP.name().toUpperCase. Which does not match previous convention of
representing certificate names in lowercase.

Additionally integ tests configure a subject AND root certificate on each node.
Fixing certificate validation here to handle root cert case.

Additionally on board these tests to the new CertType class.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
CertType needs to discretely store the unique identifier for a set of certs
which the user will use in CertificatesInfo API. Previously inferred from
the setting prefix, but transport client and transport server are
problematic for this model and cannot be changed for bwc.

Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Finn Carroll <carrofin@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Signed-off-by: Craig Perkins <cwperx@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants