Skip to content

Commit 331a45a

Browse files
authored
release v0.5.1 from PR #860
release v0.5.1 from PR #860
2 parents d0eafc8 + 358231d commit 331a45a

File tree

64 files changed

+2821
-1256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2821
-1256
lines changed

.github/workflows/ci-java-all.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ name: CI - java
99
on:
1010
push: # mainline + rc's only
1111
branches:
12+
- '**' # as of March 2025, I think worth doing for all branches
1213
- 'main'
1314
- 'rc-*'
1415

1516
jobs:
16-
1717
# Java 17 - supported until 30 Sept 2026; same as our default build as of Apr 2023
1818
ci_java17:
1919
uses: ./.github/workflows/build-java.yaml

.github/workflows/ci-java.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: CI - Java
22

3+
# deprecated, but still a required check in the repo - so leave for now although its redundant
4+
35
# CI for our project as a GitHub action
46
# see https://help.github.com/en/actions/language-and-framework-guides/building-and-testing-java-with-maven
57
on:

.github/workflows/ci-terraform-modules.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
terraform_version: [ '~1.6.0', '~1.7.0', '~1.8.0', '~1.9.0', '~1.10.0', 'latest' ]
15+
# TODO: we should matrix this over modules eventually too
1516
steps:
1617
- name: Check out code
1718
uses: actions/checkout@v4
@@ -26,3 +27,10 @@ jobs:
2627
run: |
2728
terraform init -reconfigure
2829
terraform validate
30+
31+
# also test here ...
32+
- name: "Terraform - test modules/worklytics-connector-specs"
33+
working-directory: infra/modules/worklytics-connector-specs
34+
run: |
35+
terraform init -reconfigure
36+
terraform test

.github/workflows/codeql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ jobs:
6767
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
6868
# queries: security-extended,security-and-quality
6969

70-
-
71-
7270
# If the analyze step fails for one of the languages you are analyzing with
7371
# "We were unable to automatically build your code", modify the matrix above
7472
# to set the build mode to "manual" for that language. Then modify this step

.idea/misc.xml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ Changes to be including in future/planned release notes will be added here.
77

88
## Next
99

10+
## [0.5.1](https://github.com/Worklytics/psoxy/release/tag/v0.5.1)
11+
- `GitHub`: Added rules for fetching commits through repository and pulls using GraphQL
12+
- `gdirectory` connector: a few redundant oauth scopes removed; no impact on functionality. you can remove these from your DWD grants if you wish, but it's not necessary
13+
14+
1015
## [0.5.0](https://github.com/Worklytics/psoxy/release/tag/v0.5.0)
1116

1217
BREAKING:

docs/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,14 @@ If you use our provided Terraform modules, specific instructions that you can pa
9696
Workspace Admin will be output for you.
9797

9898
| Source                     | Examples     | Scopes Needed |
99-
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
100-
| Google Calendar | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/calendar/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/calendar/calendar.yaml) | `calendar.readonly` |
101-
| Google Chat | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/google-chat/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/google-chat/google-chat.yaml) | `admin.reports.audit.readonly` |
102-
| Google Directory | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/directory/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/directory/directory.yaml) | `admin.directory.user.readonly admin.directory.user.alias.readonly admin.directory.domain.readonly admin.directory.group.readonly admin.directory.group.member.readonly admin.directory.orgunit.readonly` |
103-
| Google Drive | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gdrive/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gdrive/gdrive.yaml) | `drive.metadata.readonly` |
104-
| GMail | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gmail/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gmail/gmail.yaml) | `gmail.metadata` |
105-
| Google Meet | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/meet/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/meet/meet.yaml) | `admin.reports.audit.readonly` |
99+
|--------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
100+
| Google Calendar | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/calendar/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/calendar/calendar.yaml) | `calendar.readonly` |
101+
| Google Chat | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/google-chat/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/google-chat/google-chat.yaml) | `admin.reports.audit.readonly` |
102+
| Google Directory | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/directory/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/directory/directory.yaml) | `admin.directory.user.readonly admin.directory.domain.readonly admin.directory.group.readonly admin.directory.orgunit.readonly` |
103+
| Google Drive | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gdrive/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gdrive/gdrive.yaml) | `drive.metadata.readonly` |
104+
| GMail | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gmail/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gmail/gmail.yaml) | `gmail.metadata` |
105+
| Google Meet | [data](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/meet/example-api-responses) - [rules](https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/meet/meet.yaml) | `admin.reports.audit.readonly` |
106+
| Gemini | [data]((https://github.com/Worklytics/psoxy/tree/main/docs/sources/google-workspace/gemini-usage/example.csv] | n/a; bulk export of Gemini logs |
106107

107108
NOTE: the above scopes are copied from [infra/modules/worklytics-connector-specs](https://github.com/Worklytics/psoxy/tree/main/infra/modules/worklytics-connector-specs).
108109
Please refer to that module for a definitive list.

docs/sources/github/example-api-responses/original/org_audit_log.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,30 @@
6363
"user": "octocat",
6464
"user_agent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0",
6565
"user_id": 13968776
66+
},
67+
{
68+
"repo": [
69+
"some-org/test"
70+
],
71+
"repo_id": [
72+
12324
73+
],
74+
"org": "some-org",
75+
"org_id": 870,
76+
"action": "migration.destroy_file",
77+
"@timestamp": 1737730851061,
78+
"created_at": 1737730851061,
79+
"operation_type": "remove",
80+
"data": {
81+
"job": "MigrationDestroyFileJob",
82+
"active_job_id": "some-job-id",
83+
"aqueduct_job_id": "some-aqueduct-job-id",
84+
"catalog_service": "github/unknown",
85+
"migration_id": 2,
86+
"public_repo": true,
87+
"started_by": "octocat",
88+
"started_by_id": 42,
89+
"category_type": "Resource Management"
90+
}
6691
}
67-
]
92+
]
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"data": {
3+
"organization": {
4+
"repository": {
5+
"pullRequest": {
6+
"commits": {
7+
"pageInfo": {
8+
"hasNextPage": false,
9+
"endCursor": "MQ"
10+
},
11+
"edges": [
12+
{
13+
"node": {
14+
"commit": {
15+
"id": "C_kwDOJzN29NoAKDk5YTYzZWY5N2U0N2YzZTk5MTY2YjYyOTNjODExYTEzNWEwZWE4YTY",
16+
"oid": "99a63ef97e47f3e99166b6293c811a135a0ea8a6",
17+
"onBehalfOf": null,
18+
"authoredDate": "2023-07-06T18:23:43Z",
19+
"authoredByCommitter": false,
20+
"changedFilesIfAvailable": 1,
21+
"committedDate": "2023-07-06T18:23:43Z",
22+
"committedViaWeb": true,
23+
"parents": {
24+
"nodes": [
25+
{
26+
"oid": "1630a5ee85b40290cb4bbc29457378da03356a75"
27+
}
28+
]
29+
},
30+
"author": {
31+
"name": "some-username",
32+
"email": "contoso@hotmail.com",
33+
"date": "2023-07-06T18:23:43.000Z",
34+
"user": {
35+
"login": "some-github-login"
36+
}
37+
},
38+
"committer": {
39+
"name": "GitHub",
40+
"email": "noreply@github.com",
41+
"date": "2023-07-06T18:23:43.000Z",
42+
"user": null
43+
},
44+
"associatedPullRequests": {
45+
"nodes": [
46+
{
47+
"number": 1
48+
}
49+
]
50+
},
51+
"tree": {
52+
"oid": "e5418a3b64a90c6fcb7dc8cc2ff0313c341422c9"
53+
},
54+
"additions": 1,
55+
"deletions": 0
56+
}
57+
}
58+
}
59+
]
60+
}
61+
}
62+
}
63+
}
64+
}
65+
}

0 commit comments

Comments
 (0)