Skip to content

Commit 02dc9b3

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.2.0 (#7)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/vanta/vanta/linting-report/f7afff37486819d46dbaf4b6d0e26c10> > OpenAPI Change report available at: <https://app.speakeasy.com/org/vanta/vanta/changes-report/2b812b1bfcb7858d9b16e11588b4c993> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.533.0 (2.578.0) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` ├─┬Paths │ ├─┬/audits/{auditId}/evidence │ │ └─┬GET │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2511:34) │ ├─┬/audits/{auditId}/evidence/{auditEvidenceId} │ │ └─┬PATCH │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2724:34) │ ├─┬/audits/{auditId}/controls │ │ └─┬GET │ │ ├─┬Responses │ │ │ └─┬200 │ │ │ └─┬application/json │ │ │ └─┬Example 1 │ │ │ └──[🔀] value (2582:21) │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2628:34) │ ├─┬/audits/{auditId}/controls/custom-controls │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ └─┬Example 1 │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[➕] value (2777:21) │ │ └──[➕] value (2777:21) │ ├─┬/auditors │ │ └─┬POST │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2841:34) │ ├─┬/audits/{auditId}/comments │ │ └─┬GET │ │ ├─┬Responses │ │ │ └─┬200 │ │ │ └─┬application/json │ │ │ └─┬Example 1 │ │ │ └──[🔀] value (2525:21) │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2568:34) │ ├─┬/audits/{auditId}/evidence/{auditEvidenceId}/urls │ │ └─┬GET │ │ ├──[🔀] description (2416:20) │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2446:34) │ ├─┬/audits │ │ └─┬GET │ │ └─┬Extensions │ │ └──[➕] x-speakeasy-name-override (2390:34) │ └─┬/audits/{auditId}/evidence/{auditEvidenceId}/comments │ └─┬POST │ ├─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬Example 1 │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ └──[➕] value (2642:21) │ └─┬Extensions │ └──[➕] x-speakeasy-name-override (2672:34) ├─┬Servers │ └──[➕] description (2844:18) ├─┬Servers │ └──[➕] servers (2845:5) ├─┬Servers │ └──[➕] servers (2847:5) └─┬Components ├──[➕] schemas (596:7) ├──[➕] schemas (731:7) ├──[➕] schemas (795:7) ├──[➕] schemas (1456:7) ├──[➕] schemas (203:7) ├──[➕] schemas (646:7) ├──[➕] schemas (629:7) ├──[➕] schemas (799:7) ├──[➕] schemas (177:7) ├──[➕] schemas (436:7) ├──[➕] schemas (590:7) ├──[➕] schemas (710:7) ├──[➕] schemas (1880:7) ├──[➕] schemas (1888:7) ├──[➕] schemas (1207:7) ├──[➕] schemas (2233:7) ├──[➕] schemas (397:7) ├──[➕] schemas (668:7) ├──[➕] schemas (1225:7) ├──[➕] schemas (2052:7) ├──[➕] schemas (1065:7) ├──[➕] schemas (188:7) ├──[➕] schemas (2212:7) ├──[➕] schemas (352:7) ├──[➕] schemas (404:7) ├──[➕] schemas (493:7) ├──[➕] schemas (570:7) ├──[➕] schemas (744:7) ├──[➕] schemas (633:7) ├──[➕] schemas (873:7) ├──[➕] schemas (662:7) ├──[➕] schemas (2022:7) ├──[➕] schemas (860:7) ├──[➕] schemas (2040:7) ├──[➕] schemas (2194:7) ├──[➕] schemas (511:7) ├──[➕] schemas (1264:7) ├──[➕] schemas (2065:7) ├──[➕] schemas (983:7) ├──[➕] schemas (387:7) ├──[➕] schemas (642:7) ├──[➕] schemas (370:7) ├──[➕] schemas (620:7) ├──[➕] schemas (924:7) ├──[➕] schemas (928:7) ├──[➕] schemas (1089:7) ├──[➕] schemas (1282:7) ├──[➕] schemas (1474:7) ├──[➕] schemas (697:7) ├──[➕] schemas (979:7) ├──[➕] schemas (142:7) ├──[➕] schemas (616:7) ├──[➕] schemas (701:7) ├──[➕] schemas (864:7) ├──[➕] schemas (1022:7) ├──[➕] schemas (1026:7) ├──[➕] schemas (2159:7) ├──[➕] schemas (1874:7) ├─┬AuditorControl │ ├──[➕] required (1543:11)❌ │ ├──[➕] required (1541:11)❌ │ ├──[➕] properties (1520:9) │ ├──[➕] properties (1528:9) │ ├─┬role │ │ ├──[➖] type (391:27)❌ │ │ ├──[🔀] description (1515:24) │ │ ├──[➕] nullable (1514:21)❌ │ │ └──[➕] allOf (419:7) │ ├─┬domains │ │ ├──[➖] items (382:25)❌ │ │ ├──[🔀] type (1501:17)❌ │ │ └──[🔀] description (1502:24) │ ├─┬id │ │ └──[🔀] description (1527:24) │ ├─┬framework │ │ ├──[🔀] description (1496:24) │ │ └──[➕] nullable (1495:21)❌ │ ├─┬owner │ │ ├──[➕] type (1498:17)❌ │ │ ├──[🔀] description (1499:24) │ │ ├──[➖] nullable (388:31)❌ │ │ └──[➖] allOf (346:13)❌ │ ├─┬description │ │ ├──[➕] items (1522:13)❌ │ │ ├──[🔀] type (1523:17)❌ │ │ └──[🔀] description (1524:24) │ ├─┬source │ │ └──[🔀] $ref (1517:11)❌ │ ├─┬externalId │ │ ├──[➕] items (1508:13)❌ │ │ ├──[🔀] type (1509:17)❌ │ │ ├──[🔀] description (1510:24) │ │ └──[➖] nullable (369:31)❌ │ └─┬name │ └──[🔀] description (1492:24) ├─┬Control │ ├──[➕] required (1731:11)❌ │ ├──[➕] properties (1718:9) │ ├─┬role │ │ ├──[➖] type (571:27)❌ │ │ ├──[🔀] description (1713:24) │ │ ├──[➕] nullable (1712:21)❌ │ │ └──[➕] allOf (419:7) │ ├─┬id │ │ ├──[🔀] description (1694:24) │ │ └──[➕] nullable (1693:21)❌ │ ├─┬externalId │ │ ├──[➕] items (1706:13)❌ │ │ ├──[🔀] type (1707:17)❌ │ │ ├──[🔀] description (1708:24) │ │ └──[➖] nullable (549:31)❌ │ ├─┬source │ │ └──[🔀] $ref (1715:11)❌ │ ├─┬domains │ │ ├──[➖] items (562:25)❌ │ │ ├──[🔀] type (1699:17)❌ │ │ └──[🔀] description (1700:24) │ ├─┬description │ │ ├──[➕] items (1720:13)❌ │ │ ├──[🔀] type (1721:17)❌ │ │ └──[🔀] description (1722:24) │ ├─┬owner │ │ ├──[➕] type (1696:17)❌ │ │ ├──[🔀] description (1697:24) │ │ ├──[➖] nullable (568:31)❌ │ │ └──[➖] allOf (346:13)❌ │ └─┬name │ └──[🔀] description (1690:24) ├─┬Comment │ ├──[➕] required (1433:11)❌ │ ├──[➕] properties (1418:9) │ ├─┬modificationDate │ │ ├──[➖] format (306:29)❌ │ │ ├──[🔀] description (1402:24) │ │ └──[➖] nullable (307:31)❌ │ ├─┬text │ │ ├──[➕] format (1415:19)❌ │ │ ├──[🔀] description (1417:24) │ │ └──[➕] nullable (1416:21)❌ │ ├─┬id │ │ ├──[🔀] description (1426:24) │ │ └──[➕] nullable (1425:21)❌ │ └─┬email │ ├──[➕] format (1420:19)❌ │ └──[🔀] description (1422:24) ├─┬AuditorEnabledStateTransition │ └──[➕] enum (1589:11) └─┬CreateCustomEvidenceRequestInput ├──[➕] required (1683:11)❌ ├──[➕] properties (1673:9) ├─┬controlIds │ └──[🔀] $ref (1608:9)❌ ├─┬cadence │ └──[🔀] $ref (1674:11)❌ ├─┬isRestricted │ ├──[🔀] type (1662:17)❌ │ └──[🔀] description (1663:24) ├─┬reminderWindow │ └──[🔀] $ref (1671:11)❌ ├─┬description │ ├──[➕] items (1655:13)❌ │ ├──[🔀] type (1656:17)❌ │ └──[🔀] description (1657:24) └─┬title └──[🔀] $ref (1608:9)❌ ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | paths | 25 | 0 | | servers | 3 | 0 | | components | 133 | 46 | ## JAVA CHANGELOG ## sdkHooks: 1.0.0 - 2025-03-18 ### 🐛 Bug Fixes - pass method level security objects to hooks using changed SecuritySource interface GEN-22, GEN-816 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.37.1 - 2025-04-11 ### 🐛 Bug Fixes - increase stability of generator model file names *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.37.0 - 2025-04-09 ### 🐝 New Features - debug logging of requests and responses *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.36.3 - 2025-04-04 ### 🐛 Bug Fixes - java - fix compile error and const support in pagination GEN-1127, GEN-880 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.36.2 - 2025-04-03 ### 🐛 Bug Fixes - improve performance of generation on multicore machines and various fixes to correctness based on order of generation *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* ## core: 3.36.1 - 2025-04-01 ### 🐛 Bug Fixes - java - refactor client credentials hook internals, oauth2-password multi-option support preparation *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.36.0 - 2025-03-25 ### 🐝 New Features - java - use wildcard imports in snippets GEN-99 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.35.3 - 2025-03-21 ### 🐛 Bug Fixes - add request method javadoc, rework javadoc formatting, fix Hooks javadoc GEN-66 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.35.2 - 2025-03-19 ### 🐛 Bug Fixes - java publishing build.gradle requires group, version vars GEN-1259 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.35.1 - 2025-03-18 ### 🐛 Bug Fixes - use artifact ID for sources jar *(commit by [@chase-crumbaugh](https://github.com/chase-crumbaugh))* ## core: 3.35.0 - 2025-03-11 ### 🐝 New Features - enable java test generation GEN-992 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.34.0 - 2025-02-07 ### 🐝 New Features - java - remove apache httpclient GEN-855 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.33.8 - 2025-02-04 ### 🐛 Bug Fixes - javav2 - ensure authorization headers not duplicated GEN-954 *(commit by [@davidmoten](https://github.com/davidmoten))* ## core: 3.33.7 - 2025-01-30 ### 🐛 Bug Fixes - fixed handling of default fields in usage snippets and tests, fixed validation of required schema property *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* ## core: 3.33.6 - 2025-01-27 ### 🐛 Bug Fixes - sort subresponses based on the worst scoring response in the group to ensure that no unreachable code paths are created *(commit by [@idbentley](https://github.com/idbentley))* ## core: 3.33.5 - 2025-01-13 ### 🐛 Bug Fixes - handle 4XX and 5XX error ranges seperately *(commit by [@idbentley](https://github.com/idbentley))* ## globalSecurity: 2.82.8 - 2025-02-06 ### 🐛 Bug Fixes - fixes to handling of security at both global and operation level especially for oauth2 *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 32aff26 commit 02dc9b3

File tree

146 files changed

+2450
-886
lines changed

Some content is hidden

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

146 files changed

+2450
-886
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
*.bat text eol=crlf
99

1010
# This allows generated code to be indexed correctly
11-
*.java linguist-generated=false
12-
11+
*.java linguist-generated=false

.speakeasy/gen.lock

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
lockVersion: 2.0.0
22
id: f42d74f5-5725-46fa-b13c-649b7ef895c3
33
management:
4-
docChecksum: 1e9d3c6248fac856e4523346afc17c87
4+
docChecksum: 1a2b10b336197dc97b4e05876d814f28
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.461.0
7-
generationVersion: 2.486.1
8-
releaseVersion: 0.1.1
9-
configChecksum: c1ec2c23f037c30bd2d632d8a5b6c6ea
6+
speakeasyVersion: 1.533.0
7+
generationVersion: 2.578.0
8+
releaseVersion: 0.2.0
9+
configChecksum: 23d16b94689a0480c660cd212b26e69c
10+
repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-java.git
11+
published: true
1012
features:
1113
java:
1214
additionalDependencies: 0.1.0
1315
constsAndDefaults: 0.1.1
14-
core: 3.33.4
16+
core: 3.37.1
1517
flattening: 2.81.1
16-
globalSecurity: 2.82.7
18+
globalSecurity: 2.82.8
1719
globalSecurityCallbacks: 0.1.0
1820
globalSecurityFlattening: 0.1.0
1921
globalServerURLs: 2.82.1
2022
nameOverrides: 2.81.3
2123
nullables: 0.1.0
22-
sdkHooks: 0.1.0
24+
sdkHooks: 1.0.0
2325
unions: 0.0.6
2426
generatedFiles:
2527
- .gitattributes
26-
- CONTRIBUTING.md
2728
- USAGE.md
2829
- build.gradle
2930
- docs/models/components/AddAuditorInput.md
@@ -43,6 +44,7 @@ generatedFiles:
4344
- docs/models/components/CreateCustomControlInput.md
4445
- docs/models/components/CreateCustomEvidenceRequestInput.md
4546
- docs/models/components/CustomEvidenceRequest.md
47+
- docs/models/components/CustomField.md
4648
- docs/models/components/Evidence.md
4749
- docs/models/components/EvidenceControl.md
4850
- docs/models/components/EvidenceUrl.md
@@ -63,8 +65,10 @@ generatedFiles:
6365
- docs/models/components/RecurrenceDuration.md
6466
- docs/models/components/Results.md
6567
- docs/models/components/Role.md
68+
- docs/models/components/Section.md
6669
- docs/models/components/Security.md
6770
- docs/models/components/StatusUpdate.md
71+
- docs/models/components/Value.md
6872
- docs/models/operations/CreateAuditorResponse.md
6973
- docs/models/operations/CreateCommentForAuditEvidenceRequest.md
7074
- docs/models/operations/CreateCommentForAuditEvidenceResponse.md
@@ -87,6 +91,7 @@ generatedFiles:
8791
- docs/sdks/auditors/README.md
8892
- docs/sdks/audits/README.md
8993
- docs/sdks/vanta/README.md
94+
- gradle.properties
9095
- gradle/wrapper/gradle-wrapper.jar
9196
- gradle/wrapper/gradle-wrapper.properties
9297
- gradlew
@@ -114,6 +119,7 @@ generatedFiles:
114119
- src/main/java/com/vanta/vanta_auditor_api/models/components/CreateCustomControlInput.java
115120
- src/main/java/com/vanta/vanta_auditor_api/models/components/CreateCustomEvidenceRequestInput.java
116121
- src/main/java/com/vanta/vanta_auditor_api/models/components/CustomEvidenceRequest.java
122+
- src/main/java/com/vanta/vanta_auditor_api/models/components/CustomField.java
117123
- src/main/java/com/vanta/vanta_auditor_api/models/components/Evidence.java
118124
- src/main/java/com/vanta/vanta_auditor_api/models/components/EvidenceControl.java
119125
- src/main/java/com/vanta/vanta_auditor_api/models/components/EvidenceUrl.java
@@ -134,8 +140,10 @@ generatedFiles:
134140
- src/main/java/com/vanta/vanta_auditor_api/models/components/RecurrenceDuration.java
135141
- src/main/java/com/vanta/vanta_auditor_api/models/components/Results.java
136142
- src/main/java/com/vanta/vanta_auditor_api/models/components/Role.java
143+
- src/main/java/com/vanta/vanta_auditor_api/models/components/Section.java
137144
- src/main/java/com/vanta/vanta_auditor_api/models/components/Security.java
138145
- src/main/java/com/vanta/vanta_auditor_api/models/components/StatusUpdate.java
146+
- src/main/java/com/vanta/vanta_auditor_api/models/components/Value.java
139147
- src/main/java/com/vanta/vanta_auditor_api/models/errors/APIException.java
140148
- src/main/java/com/vanta/vanta_auditor_api/models/errors/AuthException.java
141149
- src/main/java/com/vanta/vanta_auditor_api/models/operations/CreateAuditorRequestBuilder.java
@@ -171,6 +179,7 @@ generatedFiles:
171179
- src/main/java/com/vanta/vanta_auditor_api/utils/BackoffStrategy.java
172180
- src/main/java/com/vanta/vanta_auditor_api/utils/BigDecimalString.java
173181
- src/main/java/com/vanta/vanta_auditor_api/utils/BigIntegerString.java
182+
- src/main/java/com/vanta/vanta_auditor_api/utils/Constants.java
174183
- src/main/java/com/vanta/vanta_auditor_api/utils/Deserializers.java
175184
- src/main/java/com/vanta/vanta_auditor_api/utils/EventStream.java
176185
- src/main/java/com/vanta/vanta_auditor_api/utils/EventStreamLineReader.java
@@ -179,20 +188,25 @@ generatedFiles:
179188
- src/main/java/com/vanta/vanta_auditor_api/utils/FormMetadata.java
180189
- src/main/java/com/vanta/vanta_auditor_api/utils/HTTPClient.java
181190
- src/main/java/com/vanta/vanta_auditor_api/utils/HTTPRequest.java
191+
- src/main/java/com/vanta/vanta_auditor_api/utils/HasSecurity.java
182192
- src/main/java/com/vanta/vanta_auditor_api/utils/HeaderMetadata.java
183193
- src/main/java/com/vanta/vanta_auditor_api/utils/Helpers.java
184194
- src/main/java/com/vanta/vanta_auditor_api/utils/Hook.java
185195
- src/main/java/com/vanta/vanta_auditor_api/utils/Hooks.java
186196
- src/main/java/com/vanta/vanta_auditor_api/utils/JSON.java
187197
- src/main/java/com/vanta/vanta_auditor_api/utils/LazySingletonValue.java
188198
- src/main/java/com/vanta/vanta_auditor_api/utils/Metadata.java
199+
- src/main/java/com/vanta/vanta_auditor_api/utils/Multipart.java
189200
- src/main/java/com/vanta/vanta_auditor_api/utils/MultipartFormMetadata.java
201+
- src/main/java/com/vanta/vanta_auditor_api/utils/NameValue.java
190202
- src/main/java/com/vanta/vanta_auditor_api/utils/OneOfDeserializer.java
191203
- src/main/java/com/vanta/vanta_auditor_api/utils/Options.java
192204
- src/main/java/com/vanta/vanta_auditor_api/utils/PathParamsMetadata.java
205+
- src/main/java/com/vanta/vanta_auditor_api/utils/QueryEncoding.java
193206
- src/main/java/com/vanta/vanta_auditor_api/utils/QueryParameter.java
194207
- src/main/java/com/vanta/vanta_auditor_api/utils/QueryParameters.java
195208
- src/main/java/com/vanta/vanta_auditor_api/utils/QueryParamsMetadata.java
209+
- src/main/java/com/vanta/vanta_auditor_api/utils/RecordingClient.java
196210
- src/main/java/com/vanta/vanta_auditor_api/utils/RequestBody.java
197211
- src/main/java/com/vanta/vanta_auditor_api/utils/RequestMetadata.java
198212
- src/main/java/com/vanta/vanta_auditor_api/utils/Response.java
@@ -211,6 +225,9 @@ generatedFiles:
211225
examples:
212226
ListAudits:
213227
Example 1:
228+
parameters:
229+
query:
230+
pageSize: 10
214231
responses:
215232
"200":
216233
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "customerOrganizationName": "corporation.com", "customerDisplayName": "Corporation Company", "customerOrganizationId": "65fc81a3359c8508c9af880f", "auditStartDate": "2024-03-07T21:25:56Z", "auditEndDate": "2024-03-14T21:25:56Z", "earlyAccessStartsDate": "2024-03-07T21:25:56Z", "framework": "SOC 2 Type II", "allowAuditorEmails": ["[email protected]"], "allowAllAuditors": true, "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "completionDate": "2024-03-07T21:25:56Z"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -220,7 +237,8 @@ examples:
220237
path:
221238
auditId: "<id>"
222239
auditEvidenceId: "<id>"
223-
query: {}
240+
query:
241+
pageSize: 10
224242
responses:
225243
"200":
226244
application/json: {"results": {"data": [{"id": "NjVmYzgxYTMzNTljODUwOGM5YWY4ODBm", "url": "https://s3.amazonaws.com/audit-evidence/2022/audit.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=secret%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221104T140227Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55", "filename": "example.jpg", "isDownloadable": true}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -229,7 +247,8 @@ examples:
229247
parameters:
230248
path:
231249
auditId: "<id>"
232-
query: {}
250+
query:
251+
pageSize: 10
233252
responses:
234253
"200":
235254
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "externalId": "cG9saWN5OmFjY2Vzcy1jb250cm9sLXBvbGljeQo=", "status": "Ready for audit", "name": "Access Control Policy", "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "statusUpdatedDate": "2024-03-07T21:25:56Z", "testStatus": "The test was passing during this period", "evidenceType": "Policy", "evidenceId": "access-control-policy", "relatedControls": [{"name": "CRY-104", "sectionNames": ["Article 13"]}], "description": "example description of test"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -238,36 +257,40 @@ examples:
238257
parameters:
239258
path:
240259
auditId: "<id>"
241-
query: {}
260+
query:
261+
pageSize: 10
242262
responses:
243263
"200":
244-
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "email": "[email protected]"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
264+
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "deletionDate": "2024-03-07T21:25:56Z", "email": "[email protected]"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
245265
ListAuditControls:
246266
Example 1:
247267
parameters:
248268
path:
249269
auditId: "<id>"
250-
query: {}
270+
query:
271+
pageSize: 10
251272
responses:
252273
"200":
253-
application/json: {"results": {"data": [{"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "[email protected]"}, "framework": "soc2"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
274+
application/json: {"results": {"data": [{"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "[email protected]"}, "role": null, "customFields": [], "framework": "soc2", "sections": [{"name": "IPP", "framework": "HITRUST"}]}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
254275
CreateCommentForAuditEvidence:
255276
Example 1:
256277
parameters:
257278
path:
258279
auditId: "<id>"
259280
auditEvidenceId: "<id>"
260281
requestBody:
261-
application/json: {"text": "<value>", "email": "Earnestine28@yahoo.com", "creationDate": "2024-11-28T04:59:12.710Z"}
282+
application/json: {"text": "<value>", "email": "Alexis74@hotmail.com", "creationDate": "2024-08-13T11:18:40.035Z"}
262283
responses:
263284
"200":
264-
application/json: {"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "email": "[email protected]"}
285+
application/json: {"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "deletionDate": "2024-03-07T21:25:56Z", "email": "[email protected]"}
265286
UpdateAuditEvidence:
266287
Example 1:
267288
parameters:
268289
path:
269290
auditId: "<id>"
270291
auditEvidenceId: "<id>"
292+
requestBody:
293+
application/json: {}
271294
responses:
272295
"200":
273296
application/json: {"id": "65fc81a3359c8508c9af880f", "externalId": "cG9saWN5OmFjY2Vzcy1jb250cm9sLXBvbGljeQo=", "status": "Ready for audit", "name": "Access Control Policy", "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "statusUpdatedDate": "2024-03-07T21:25:56Z", "testStatus": "The test was passing during this period", "evidenceType": "Policy", "evidenceId": "access-control-policy", "relatedControls": [{"name": "CRY-104", "sectionNames": ["Article 13"]}], "description": "example description of test"}
@@ -277,7 +300,7 @@ examples:
277300
path:
278301
auditId: "<id>"
279302
requestBody:
280-
application/json: {"controlIds": ["<value>"], "title": "<value>", "description": "now whoa while", "cadence": "P3M", "reminderWindow": "P0D", "isRestricted": true}
303+
application/json: {"controlIds": ["<value>"], "title": "<value>", "description": "now whoa while", "cadence": "P3M", "reminderWindow": "P0D", "isRestricted": true, "auditorEmail": "<value>"}
281304
responses:
282305
"200":
283306
application/json: {"id": "65fc81a3359c8508c9af880f", "controlIds": ["1.1.2.a"], "title": "Access Control Policy", "description": "Description for Access Control Policy", "cadence": "P6M", "reminderWindow": "P6M", "isRestricted": true}
@@ -290,12 +313,13 @@ examples:
290313
application/json: {"externalId": "<id>", "name": "<value>", "description": "even keenly afore mmm yearningly ouch tough yearly intent", "effectiveDate": "2024-07-08T11:52:30.590Z", "category": "THREAT_MANAGEMENT"}
291314
responses:
292315
"201":
293-
application/json: {"id": "65fc81a3359c8508c9af880f", "externalId": "<id>", "name": "<value>", "description": "Description for Access Control Policy", "source": "Vanta", "domains": ["<value>"], "owner": {"id": "<id>", "displayName": "Jamey_Swaniawski", "emailAddress": "Sibyl.Connelly@yahoo.com"}}
316+
application/json: {"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "example-person@email.com"}, "role": "CONTROLLER", "customFields": [{"label": "Additional context", "value": "This control is critical for GDPR compliance"}]}
294317
CreateAuditor:
295318
Example 1:
296319
requestBody:
297-
application/json: {"email": "Cooper59@hotmail.com", "givenName": "<value>", "familyName": "<value>"}
320+
application/json: {"email": "Loyal79@yahoo.com", "givenName": "<value>", "familyName": "<value>"}
298321
responses:
299322
"200":
300323
application/json: {"id": "65fc81a3359c8508c9af880f", "organizationId": "8c9af880f1a335965fc850c8", "email": "[email protected]", "givenName": "Sam", "familyName": "Auditor"}
324+
examplesVersion: 1.0.1
301325
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,15 @@ generation:
77
useClassNamesForArrayFields: true
88
fixes:
99
nameResolutionDec2023: true
10+
nameResolutionFeb2025: false
1011
parameterOrderingFeb2024: true
1112
requestResponseComponentNamesFeb2024: true
13+
securityFeb2025: false
1214
auth:
1315
oAuth2ClientCredentialsEnabled: true
1416
oAuth2PasswordEnabled: true
1517
java:
16-
version: 0.1.1
18+
version: 0.2.0
1719
additionalDependencies: []
1820
additionalPlugins: []
1921
artifactID: vanta-auditor-api

.speakeasy/workflow.lock

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.461.0
1+
speakeasyVersion: 1.533.0
22
sources:
33
Conduct an audit:
44
sourceNamespace: conduct-an-audit
5-
sourceRevisionDigest: sha256:bba8d11fbff22e86b8cebb373cb9162f76c94b0b1449836c09c28ccdf3cf44e3
6-
sourceBlobDigest: sha256:5caeae09f7a133bc6ef4326e74b8aed18fe8b45f74e6b2dc0ac7ee9f0e335cdc
5+
sourceRevisionDigest: sha256:fa49ac1c79f171ea6a2d1c947afc689d53fdcfacc6d0c758607d67082c43f3f7
6+
sourceBlobDigest: sha256:bbe79169dea0b06f442a5b981fda5eb09f04b5ea369ef9832e48e6feabdccc08
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1744825786
910
- 1.0.0
1011
targets:
1112
vanta:
1213
source: Conduct an audit
1314
sourceNamespace: conduct-an-audit
14-
sourceRevisionDigest: sha256:bba8d11fbff22e86b8cebb373cb9162f76c94b0b1449836c09c28ccdf3cf44e3
15-
sourceBlobDigest: sha256:5caeae09f7a133bc6ef4326e74b8aed18fe8b45f74e6b2dc0ac7ee9f0e335cdc
15+
sourceRevisionDigest: sha256:fa49ac1c79f171ea6a2d1c947afc689d53fdcfacc6d0c758607d67082c43f3f7
16+
sourceBlobDigest: sha256:bbe79169dea0b06f442a5b981fda5eb09f04b5ea369ef9832e48e6feabdccc08
1617
codeSamplesNamespace: conduct-an-audit-java-code-samples
17-
codeSamplesRevisionDigest: sha256:7c052d0f29831ff949372057318d15e2957096e098b22f7a3f313513029c513c
18+
codeSamplesRevisionDigest: sha256:3438586112f5de4156d99fa595eb77066b0fe12b05f8e0be4b0d1a1d8fe2618e
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest
@@ -30,6 +31,12 @@ workflow:
3031
vanta:
3132
target: java
3233
source: Conduct an audit
34+
publish:
35+
java:
36+
ossrhUsername: $ossrh_username
37+
ossrhPassword: $ossrh_password
38+
gpgSecretKey: $java_gpg_secret_key
39+
gpgPassPhrase: $java_gpg_passphrase
3340
codeSamples:
3441
registry:
3542
location: registry.speakeasyapi.dev/vanta/vanta/conduct-an-audit-java-code-samples

0 commit comments

Comments
 (0)