Conversation
Implementations: 1. local check of subject.CN 2. check run in external process 3. check delegated to REST-API Test Cases: 1. Test inventory invocation 2. Test local inventory 3. Test external inventory Test Configurations: 1. Enrollment with local inventory path 2. Enrollment with plugin path for external inventory checker process
- InventoryPluginBase class for common structures and methods - Use plain JSON structure for certificate request information - Use environment variable RA_INVENTORY_EXEC to pass on path to external checker to lightweightCmpRa - Test case uses scripts/external-inventory-example.pyw as external checker
- Change from apache http client to java.net.http - Use plain JSON structure for certificate request information - Adjust test case to use environment variable RA_INVENTORY_URL for HTTP service
Akretsch
marked this pull request as ready for review
January 24, 2024 09:44
…ies: checks request against rule-set from RA_DSL_RULE file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The RA plugin API is intended to make it easy to extend an RA built with CmpRaComponent, by using
additional rules for checking certificate requests. The API enables programmers to create plugins in
any programming language.
Contributions
Extendend the InventoryInterface with the ability to
Usage / Test examples
RA_INVENTORY_EXEC = <path to executable>)RA_INVENTORY_URL = <URL to HTTP server>) ** Currently test case expects a HTTP server already running on http://127.0.0.1:8000/check. Therefore, it is excluded from the Maven build