-
Notifications
You must be signed in to change notification settings - Fork 0
update to v0.6.0
#69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
eschultink
wants to merge
2
commits into
main
Choose a base branch
from
rc-v0.6.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
update to v0.6.0
#69
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,83 @@ | ||
| # AI Agent Guide: Psoxy AWS Example Repository | ||
|
|
||
| ## What is This Repository? | ||
|
|
||
| This is a **Terraform template repository** for deploying the [Worklytics Pseudonymizing Proxy (Psoxy)](https://github.com/Worklytics/psoxy) on **Amazon Web Services (AWS)**. | ||
|
|
||
| Psoxy is a serverless, pseudonymizing Data Loss Prevention (DLP) layer that sits between Worklytics and your organization's data sources (SaaS APIs, cloud storage, etc.). It replaces PII with hash tokens, enabling analysis on anonymized data while enforcing access controls and compliance requirements. | ||
|
|
||
| ## Purpose | ||
|
|
||
| This example repository provides: | ||
| - **Pre-configured Terraform modules** that reference the main Psoxy repository | ||
| - **Example configurations** for common data sources (Google Workspace, Microsoft 365, Slack, GitHub, etc.) | ||
| - **Helper scripts** for initialization, prerequisite checking, and testing | ||
| - **Infrastructure-as-code** templates ready for customization | ||
|
|
||
| ## Key Relationships | ||
|
|
||
| - **Main Repository**: [https://github.com/Worklytics/psoxy](https://github.com/Worklytics/psoxy) | ||
| - Contains the core Psoxy Java implementation | ||
| - Provides Terraform modules used by this example | ||
| - Houses documentation and development resources | ||
|
|
||
| - **Documentation**: [https://docs.worklytics.co/psoxy](https://docs.worklytics.co/psoxy) | ||
| - Comprehensive deployment guides | ||
| - Configuration reference | ||
| - Troubleshooting and best practices | ||
| - Data source-specific documentation | ||
|
|
||
| - **This Example**: A template that customers clone and customize for their AWS deployment | ||
|
|
||
| ## How This Repository Works | ||
|
|
||
| 1. **Template Structure**: Customers use this as a GitHub template or clone it to create their own deployment repository | ||
| 2. **Terraform Modules**: References modules from the main Psoxy repo via Git URLs (e.g., `git::https://github.com/worklytics/psoxy//infra/modules/...`) | ||
| 3. **Version Pinning**: Each release of this example references a specific version tag of the main Psoxy repository | ||
| 4. **Customization**: Customers modify `terraform.tfvars` and Terraform files to match their environment and data sources | ||
|
|
||
| ## Common Tasks for AI Agents | ||
|
|
||
| ### Understanding the Deployment | ||
|
|
||
| - **Read the main README.md** in this repository for human-facing setup instructions | ||
| - **Review terraform.tfvars** to understand configuration variables | ||
| - **Examine main.tf** to see which modules are being used | ||
| - **Check available-connectors** script to see supported data sources | ||
|
|
||
| ### Helping Users Deploy | ||
|
|
||
| 1. **Prerequisites**: Guide users to run `./check-prereqs` and install missing tools | ||
| 2. **Authentication**: Help configure AWS CLI, GCloud CLI (for Google Workspace), or Azure CLI (for Microsoft 365) | ||
| 3. **Initialization**: Run `./init` to generate `terraform.tfvars` from prompts | ||
| 4. **Customization**: Help users modify Terraform files to enable/disable data sources | ||
| 5. **Deployment**: Guide through `terraform plan` and `terraform apply` | ||
|
|
||
| ### Troubleshooting | ||
|
|
||
| - **Reference the main docs**: [https://docs.worklytics.co/psoxy](https://docs.worklytics.co/psoxy) | ||
| - **Check AWS-specific docs**: [https://docs.worklytics.co/psoxy/aws/getting-started](https://docs.worklytics.co/psoxy/aws/getting-started) | ||
| - **Review Terraform state** and error messages | ||
| - **Validate module versions** match the referenced Psoxy release | ||
|
|
||
| ### Code Navigation | ||
|
|
||
| - **Terraform files** (`.tf`) define the infrastructure | ||
| - **Helper scripts** (`init`, `check-prereqs`, `available-connectors`) assist with setup | ||
| - **Module references** point to the main Psoxy repository at specific version tags | ||
| - **Example configurations** show how to enable various data source connectors | ||
|
|
||
| ## Important Notes | ||
|
|
||
| - This is a **template repository** - users should create their own copy, not commit directly to this repo | ||
| - **Version compatibility**: The Terraform modules reference specific Psoxy release tags | ||
| - **AWS-specific**: This example is for AWS deployments; see `psoxy-example-gcp` for Google Cloud Platform | ||
| - **Security**: Users must configure authentication credentials and IAM permissions appropriately | ||
| - **Data sources**: Not all connectors are enabled by default; users customize based on their needs | ||
|
|
||
| ## Getting More Help | ||
|
|
||
| - **Documentation**: [https://docs.worklytics.co/psoxy](https://docs.worklytics.co/psoxy) | ||
| - **Main Repository Issues**: [https://github.com/Worklytics/psoxy/issues](https://github.com/Worklytics/psoxy/issues) | ||
| - **Support**: [sales@worklytics.co](mailto:sales@worklytics.co) | ||
|
|
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should support non LTS versions (26), then why not the ones between 21 and 25?
if [[ "$JAVA_VERSION_MAJOR" -lt 21 ]]; thenThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
22-24 are unsupported generally ... not sure we should; but yeah, i guess reasonable to just not force people to upgrade; will add back in next version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as i recall, 24 has issues w some versions of maven though ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and this is warning, not blocker.