Skip to content

Commit

Permalink
11.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SupportSDM committed Oct 7, 2024
1 parent c26d20a commit 5ec69ae
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 14 deletions.
22 changes: 22 additions & 0 deletions com/strongdm/api/QueryCapture.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

package com.strongdm.api;

import java.util.List;

/**
* A QueryCapture contains additional information about queries against SSH, Kubernetes, and RDP
* resources.
Expand Down Expand Up @@ -92,6 +94,26 @@ public void setHeight(int in) {
this.height = in;
}

private List<String> impersonationGroups;
/** The impersonation groups of a Kubernetes operation. */
public List<String> getImpersonationGroups() {
return this.impersonationGroups;
}
/** The impersonation groups of a Kubernetes operation. */
public void setImpersonationGroups(List<String> in) {
this.impersonationGroups = in;
}

private String impersonationUser;
/** The impersonation user of a Kubernetes operation. */
public String getImpersonationUser() {
return this.impersonationUser;
}
/** The impersonation user of a Kubernetes operation. */
public void setImpersonationUser(String in) {
this.impersonationUser = in;
}

private String pod;
/** The target pod of a Kubernetes operation. */
public String getPod() {
Expand Down
2 changes: 1 addition & 1 deletion com/strongdm/api/SigningCallCredential.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SigningCallCredential extends CallCredentials {
private final String apiAccessKey;
private final String signature;
private static final String API_VERSION = "2024-03-28";
private static final String USER_AGENT = "strongdm-sdk-java/11.13.0";
private static final String USER_AGENT = "strongdm-sdk-java/11.14.0";

protected SigningCallCredential(String apiAccessKey, String signature) {
this.apiAccessKey = apiAccessKey;
Expand Down
6 changes: 6 additions & 0 deletions com/strongdm/api/plumbing/Plumbing.java
Original file line number Diff line number Diff line change
Expand Up @@ -12586,6 +12586,8 @@ public static com.strongdm.api.QueryCapture convertQueryCaptureToPorcelain(
porcelain.setFileName((plumbing.getFileName()));
porcelain.setFileSize((plumbing.getFileSize()));
porcelain.setHeight((plumbing.getHeight()));
porcelain.setImpersonationGroups((plumbing.getImpersonationGroupsList()));
porcelain.setImpersonationUser((plumbing.getImpersonationUser()));
porcelain.setPod((plumbing.getPod()));
porcelain.setRequestBody(Plumbing.convertBytesToPorcelain(plumbing.getRequestBody()));
porcelain.setRequestMethod((plumbing.getRequestMethod()));
Expand Down Expand Up @@ -12616,6 +12618,10 @@ public static QueryCapture convertQueryCaptureToPlumbing(
}
builder.setFileSize(porcelain.getFileSize());
builder.setHeight(porcelain.getHeight());
builder.addAllImpersonationGroups((porcelain.getImpersonationGroups()));
if (porcelain.getImpersonationUser() != null) {
builder.setImpersonationUser((porcelain.getImpersonationUser()));
}
if (porcelain.getPod() != null) {
builder.setPod((porcelain.getPod()));
}
Expand Down
Loading

0 comments on commit 5ec69ae

Please sign in to comment.