From 3f38b52524e0da68ed0d4dc4265e85cdf33f6461 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Sep 2026 00:04:30 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.796.3 --- .speakeasy/gen.lock | 36 +++++++++--------- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +++--- README.md | 4 +- RELEASES.md | 12 +++++- docs/sdks/audits/README.md | 19 ++++++---- gradle.properties | 2 +- .../vanta/vanta_auditor_api/AsyncAudits.java | 38 +++++++++++-------- .../com/vanta/vanta_auditor_api/Audits.java | 38 +++++++++++-------- .../vanta_auditor_api/SDKConfiguration.java | 4 +- 10 files changed, 96 insertions(+), 71 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 2cc6695..05d91f0 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: f42d74f5-5725-46fa-b13c-649b7ef895c3 management: - docChecksum: 95fa42ae6c6c855e16874ae16eda8060 + docChecksum: 65b3580e318574e8fd8d0308fe79cf06 docVersion: 1.0.0 - speakeasyVersion: 1.796.2 - generationVersion: 2.933.0 - releaseVersion: 0.7.0 - configChecksum: c3b94d0b617ce2ce4383876f2e37925e + speakeasyVersion: 1.796.3 + generationVersion: 2.934.1 + releaseVersion: 0.7.1 + configChecksum: 2b8c9802827b910b635d24c0916b3018 repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-java.git installationURL: https://github.com/VantaInc/vanta-auditor-api-sdk-java published: true persistentEdits: - generation_id: cbe386e8-53ef-4bcd-bc58-a9d414efe24a - pristine_commit_hash: a06d10457a4fa1d33fc387532589f5aef0c1479e - pristine_tree_hash: bcc12d8733a10842846d4ccfb2e1724fec3c6645 + generation_id: 882dbdf8-0a91-4553-9972-9942baa2d0b6 + pristine_commit_hash: 9632032cfdfd80ac883e9f45d790a4089fdbf7eb + pristine_tree_hash: 2de15a6093a0c041efa72412ba5b58b88cf08ab2 features: java: additionalDependencies: 0.1.0 @@ -1632,16 +1632,16 @@ trackedFiles: pristine_git_object: 0808108fb53faaa59313b7f3a8cb82e6a32884ad docs/sdks/audits/README.md: id: b976aa226e19 - last_write_checksum: sha1:53ba62446a6cdaf69507568220e8457f991cdcee - pristine_git_object: ab017e64809f39e2ce202cb726c31d76395e21d8 + last_write_checksum: sha1:e714a7b340d005a48f904963f27d384bc91803e7 + pristine_git_object: e2d9ba6f25574f39f6e540d4321f8df8f8d13b98 docs/utils/Blob.md: id: 3d9a7c4ad67a last_write_checksum: sha1:46ba9a381c8983c4a89c495fbca109cc66851754 pristine_git_object: de7d1b163d5926363b94e775645373b750f65b30 gradle.properties: id: 2afbb999f001 - last_write_checksum: sha1:f060b5077cb94271f18c39685a02d54983097078 - pristine_git_object: 833cd0de5a73fe3cdcd94ed0fa8e51189b03c9ee + last_write_checksum: sha1:56dfbd6c5f9f24875c597f0ec5527e69a379bd62 + pristine_git_object: d6a5dc753b9f0665a0a89b7668fdabc2d02fcea8 gradle/wrapper/gradle-wrapper.jar: id: ec27dae6e852 last_write_checksum: sha1:f725fb1467084142d74fd7cd8eab691ab3442611 @@ -1672,8 +1672,8 @@ trackedFiles: pristine_git_object: 8ce3f1ca13fe3131d31dd8f7d40fdab23067fc82 src/main/java/com/vanta/vanta_auditor_api/AsyncAudits.java: id: 2d0875e33c27 - last_write_checksum: sha1:80803aeae64ad254db1c7cbc90e8a62a905fda5a - pristine_git_object: 154117c7df97535c236c548ad1b2759fa1b27c29 + last_write_checksum: sha1:de788b5d9ed5ab099fbe80abc0e8b24d55e513bb + pristine_git_object: 6dab85bce57ce989df3092324c650c065290edc2 src/main/java/com/vanta/vanta_auditor_api/AsyncVanta.java: id: b47385b1c356 last_write_checksum: sha1:883518392f570199c37a5f9005cddce689f136ce @@ -1684,12 +1684,12 @@ trackedFiles: pristine_git_object: a412b060afc9232b17567b476a1d1a1f776618f1 src/main/java/com/vanta/vanta_auditor_api/Audits.java: id: 0ee418adaca4 - last_write_checksum: sha1:ecfdfa90dd2a56e35a12e73eb87a0cefa275603a - pristine_git_object: 0cdd2b7e7c71a464d49a4dd8b9920fc879561617 + last_write_checksum: sha1:e90777c4359480b2ac2438779867505fddd31c1d + pristine_git_object: 252b3b6b301263817e6ffbb6df53a9ea3adee561 src/main/java/com/vanta/vanta_auditor_api/SDKConfiguration.java: id: ce55360c720c - last_write_checksum: sha1:f984db4f5329aaeaf7d4bff1265c8a0952376a26 - pristine_git_object: 98bd209a90128d621cbca057a7405d79720af1d0 + last_write_checksum: sha1:5c1bb78414b00f9f6ce88cc7cdd6c9cfb4d5b84b + pristine_git_object: 0b48cb21cf92615720f264a8b901d95bb9bec4b7 src/main/java/com/vanta/vanta_auditor_api/SecuritySource.java: id: 18c0da44b51f last_write_checksum: sha1:55dc5f4240c7317c9a5a4080b6e17dc1b6fdd403 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2a4ebdb..9c76d85 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -29,7 +29,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false java: - version: 0.7.0 + version: 0.7.1 additionalDependencies: [] additionalPlugins: [] artifactID: vanta-auditor-api diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a813e2d..2e5a679 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.796.2 +speakeasyVersion: 1.796.3 sources: Conduct an audit: sourceNamespace: conduct-an-audit - sourceRevisionDigest: sha256:1f3418472b4832b538c2c2d0545120e3a8de0b0df30106b2b7ba21638c72ef81 - sourceBlobDigest: sha256:24286b3b53c96822c21d124adf7cd49f8a765b5d32f6a851d90e3653edb93dd9 + sourceRevisionDigest: sha256:b85d80fa982253b86c39caf974f326b63cd53fa1adcff3bc5dd9064ed67d942b + sourceBlobDigest: sha256:0026fc0f213208248eb15bde758f8e30038ebaf9565bda530f2165f57fe26068 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: vanta: source: Conduct an audit sourceNamespace: conduct-an-audit - sourceRevisionDigest: sha256:1f3418472b4832b538c2c2d0545120e3a8de0b0df30106b2b7ba21638c72ef81 - sourceBlobDigest: sha256:24286b3b53c96822c21d124adf7cd49f8a765b5d32f6a851d90e3653edb93dd9 + sourceRevisionDigest: sha256:b85d80fa982253b86c39caf974f326b63cd53fa1adcff3bc5dd9064ed67d942b + sourceBlobDigest: sha256:0026fc0f213208248eb15bde758f8e30038ebaf9565bda530f2165f57fe26068 codeSamplesNamespace: conduct-an-audit-java-code-samples - codeSamplesRevisionDigest: sha256:790eb680bca74ffeb9eb3acf885467fcf7358fca81af6a419792f04d53acbf7d + codeSamplesRevisionDigest: sha256:cb4dc035743d1e56038584a553b2a5101d5c3eb9570c4737612b2f6932982d96 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index f541e21..fbe47cb 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The samples below show how a published SDK artifact is used: Gradle: ```groovy -implementation 'com.vanta:vanta-auditor-api:0.7.0' +implementation 'com.vanta:vanta-auditor-api:0.7.1' ``` Maven: @@ -57,7 +57,7 @@ Maven: com.vanta vanta-auditor-api - 0.7.0 + 0.7.1 ``` diff --git a/RELEASES.md b/RELEASES.md index 2ec4b47..447432b 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -338,4 +338,14 @@ Based on: ### Generated - [java v0.7.0] . ### Releases -- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.7.0 - . \ No newline at end of file +- [Maven Central v0.7.0] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.7.0 - . + +## 2026-09-03 00:03:08 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.3 (2.934.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [java v0.7.1] . +### Releases +- [Maven Central v0.7.1] https://central.sonatype.com/artifact/com.vanta/vanta-auditor-api/0.7.1 - . \ No newline at end of file diff --git a/docs/sdks/audits/README.md b/docs/sdks/audits/README.md index ab017e6..e2d9ba6 100644 --- a/docs/sdks/audits/README.md +++ b/docs/sdks/audits/README.md @@ -527,17 +527,20 @@ public class Application { Records (upserts) an auditor's assessment state and justification for a control within an IRL audit — the API equivalent of assessing a control in -the web app. Overwrites the single assessment for this control in the -audit's program segment. +the web app. Overwrites the assessment for this control in the chosen +program segment. -The `assessmentState` must be valid for the segment's framework (the request -is rejected otherwise). The acting auditor is identified by `auditorEmail`, -which must belong to the audit firm making the request. +`segmentId` is required when the audit has more than one program segment. +On a single-program audit it may be omitted. The `assessmentState` must be +valid for that segment's framework (the request is rejected otherwise). The +acting auditor is identified by `auditorEmail`, which must belong to the +audit firm making the request. Returns 404 when the control is not part of the audit or the auditor email -does not resolve to a firm user. Returns 422 when the audit does not have -exactly one program segment (multi-framework audits are not supported on -this endpoint). Applies to both Full and Controlled Audit View audits. +does not resolve to a firm user. Returns 422 when `segmentId` is missing on +a multi-program audit, is not a program segment on the audit, or the +control is not assessment-eligible in that segment. Applies to both Full +and Controlled Audit View audits. Rate limit: 10 requests / minute. diff --git a/gradle.properties b/gradle.properties index 833cd0d..d6a5dc7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ groupId=com.vanta artifactId=vanta-auditor-api -version=0.7.0 +version=0.7.1 org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g diff --git a/src/main/java/com/vanta/vanta_auditor_api/AsyncAudits.java b/src/main/java/com/vanta/vanta_auditor_api/AsyncAudits.java index 154117c..6dab85b 100644 --- a/src/main/java/com/vanta/vanta_auditor_api/AsyncAudits.java +++ b/src/main/java/com/vanta/vanta_auditor_api/AsyncAudits.java @@ -732,17 +732,20 @@ public CompletableFuture createCustomControl(String * *

Records (upserts) an auditor's assessment state and justification for a * control within an IRL audit — the API equivalent of assessing a control in - * the web app. Overwrites the single assessment for this control in the - * audit's program segment. + * the web app. Overwrites the assessment for this control in the chosen + * program segment. * - *

The `assessmentState` must be valid for the segment's framework (the request - * is rejected otherwise). The acting auditor is identified by `auditorEmail`, - * which must belong to the audit firm making the request. + *

`segmentId` is required when the audit has more than one program segment. + * On a single-program audit it may be omitted. The `assessmentState` must be + * valid for that segment's framework (the request is rejected otherwise). The + * acting auditor is identified by `auditorEmail`, which must belong to the + * audit firm making the request. * *

Returns 404 when the control is not part of the audit or the auditor email - * does not resolve to a firm user. Returns 422 when the audit does not have - * exactly one program segment (multi-framework audits are not supported on - * this endpoint). Applies to both Full and Controlled Audit View audits. + * does not resolve to a firm user. Returns 422 when `segmentId` is missing on + * a multi-program audit, is not a program segment on the audit, or the + * control is not assessment-eligible in that segment. Applies to both Full + * and Controlled Audit View audits. * *

Rate limit: 10 requests / minute. * @@ -757,17 +760,20 @@ public UpsertAssessmentForControlRequestBuilder upsertAssessmentForControl() { * *

Records (upserts) an auditor's assessment state and justification for a * control within an IRL audit — the API equivalent of assessing a control in - * the web app. Overwrites the single assessment for this control in the - * audit's program segment. + * the web app. Overwrites the assessment for this control in the chosen + * program segment. * - *

The `assessmentState` must be valid for the segment's framework (the request - * is rejected otherwise). The acting auditor is identified by `auditorEmail`, - * which must belong to the audit firm making the request. + *

`segmentId` is required when the audit has more than one program segment. + * On a single-program audit it may be omitted. The `assessmentState` must be + * valid for that segment's framework (the request is rejected otherwise). The + * acting auditor is identified by `auditorEmail`, which must belong to the + * audit firm making the request. * *

Returns 404 when the control is not part of the audit or the auditor email - * does not resolve to a firm user. Returns 422 when the audit does not have - * exactly one program segment (multi-framework audits are not supported on - * this endpoint). Applies to both Full and Controlled Audit View audits. + * does not resolve to a firm user. Returns 422 when `segmentId` is missing on + * a multi-program audit, is not a program segment on the audit, or the + * control is not assessment-eligible in that segment. Applies to both Full + * and Controlled Audit View audits. * *

Rate limit: 10 requests / minute. * diff --git a/src/main/java/com/vanta/vanta_auditor_api/Audits.java b/src/main/java/com/vanta/vanta_auditor_api/Audits.java index 0cdd2b7..252b3b6 100644 --- a/src/main/java/com/vanta/vanta_auditor_api/Audits.java +++ b/src/main/java/com/vanta/vanta_auditor_api/Audits.java @@ -723,17 +723,20 @@ public CreateCustomControlResponse createCustomControl(String auditId, CreateCus * *

Records (upserts) an auditor's assessment state and justification for a * control within an IRL audit — the API equivalent of assessing a control in - * the web app. Overwrites the single assessment for this control in the - * audit's program segment. + * the web app. Overwrites the assessment for this control in the chosen + * program segment. * - *

The `assessmentState` must be valid for the segment's framework (the request - * is rejected otherwise). The acting auditor is identified by `auditorEmail`, - * which must belong to the audit firm making the request. + *

`segmentId` is required when the audit has more than one program segment. + * On a single-program audit it may be omitted. The `assessmentState` must be + * valid for that segment's framework (the request is rejected otherwise). The + * acting auditor is identified by `auditorEmail`, which must belong to the + * audit firm making the request. * *

Returns 404 when the control is not part of the audit or the auditor email - * does not resolve to a firm user. Returns 422 when the audit does not have - * exactly one program segment (multi-framework audits are not supported on - * this endpoint). Applies to both Full and Controlled Audit View audits. + * does not resolve to a firm user. Returns 422 when `segmentId` is missing on + * a multi-program audit, is not a program segment on the audit, or the + * control is not assessment-eligible in that segment. Applies to both Full + * and Controlled Audit View audits. * *

Rate limit: 10 requests / minute. * @@ -748,17 +751,20 @@ public UpsertAssessmentForControlRequestBuilder upsertAssessmentForControl() { * *

Records (upserts) an auditor's assessment state and justification for a * control within an IRL audit — the API equivalent of assessing a control in - * the web app. Overwrites the single assessment for this control in the - * audit's program segment. + * the web app. Overwrites the assessment for this control in the chosen + * program segment. * - *

The `assessmentState` must be valid for the segment's framework (the request - * is rejected otherwise). The acting auditor is identified by `auditorEmail`, - * which must belong to the audit firm making the request. + *

`segmentId` is required when the audit has more than one program segment. + * On a single-program audit it may be omitted. The `assessmentState` must be + * valid for that segment's framework (the request is rejected otherwise). The + * acting auditor is identified by `auditorEmail`, which must belong to the + * audit firm making the request. * *

Returns 404 when the control is not part of the audit or the auditor email - * does not resolve to a firm user. Returns 422 when the audit does not have - * exactly one program segment (multi-framework audits are not supported on - * this endpoint). Applies to both Full and Controlled Audit View audits. + * does not resolve to a firm user. Returns 422 when `segmentId` is missing on + * a multi-program audit, is not a program segment on the audit, or the + * control is not assessment-eligible in that segment. Applies to both Full + * and Controlled Audit View audits. * *

Rate limit: 10 requests / minute. * diff --git a/src/main/java/com/vanta/vanta_auditor_api/SDKConfiguration.java b/src/main/java/com/vanta/vanta_auditor_api/SDKConfiguration.java index 98bd209..0b48cb2 100644 --- a/src/main/java/com/vanta/vanta_auditor_api/SDKConfiguration.java +++ b/src/main/java/com/vanta/vanta_auditor_api/SDKConfiguration.java @@ -19,8 +19,8 @@ public class SDKConfiguration { private static final String LANGUAGE = "java"; public static final String OPENAPI_DOC_VERSION = "1.0.0"; - public static final String SDK_VERSION = "0.7.0"; - public static final String GEN_VERSION = "2.933.0"; + public static final String SDK_VERSION = "0.7.1"; + public static final String GEN_VERSION = "2.934.1"; private static final String BASE_PACKAGE = "com.vanta.vanta_auditor_api"; public static final String USER_AGENT = String.format("speakeasy-sdk/%s %s %s %s %s", From c4b26dd8dfdf199f056c12a94b1ffb4c13b8cdbc Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 00:04:37 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow