Skip to content

Commit 8097eb9

Browse files
committed
14.22.0
1 parent 33f3c75 commit 8097eb9

File tree

10 files changed

+40156
-39521
lines changed

10 files changed

+40156
-39521
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ javadoc {
111111

112112
nexusPublishing {
113113
repositories {
114-
sonatype { //only for users registered in Sonatype after 24 Feb 2021
115-
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
116-
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
114+
sonatype {
115+
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
116+
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
117117
username = System.getenv("OSSRH_USERNAME")
118118
password = System.getenv("OSSRH_PASSWORD")
119119
}

com/strongdm/api/AccessRule.java

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ public Privileges getPrivileges() {
124124

125125
public static class Privileges {
126126
private K8sPrivileges k8s;
127+
private EntraGroupsPrivileges entraGroups;
127128

128129
public void setK8s(K8sPrivileges k8sPrivileges) {
129130
this.k8s = k8sPrivileges;
@@ -132,6 +133,14 @@ public void setK8s(K8sPrivileges k8sPrivileges) {
132133
public K8sPrivileges getK8s() {
133134
return this.k8s;
134135
}
136+
137+
public void setEntraGroups(EntraGroupsPrivileges entraGroupsPrivileges) {
138+
this.entraGroups = entraGroupsPrivileges;
139+
}
140+
141+
public EntraGroupsPrivileges getEntraGroups() {
142+
return this.entraGroups;
143+
}
135144
}
136145

137146
public static class K8sPrivileges {
@@ -173,4 +182,44 @@ public void clearGroups() {
173182
this.groups.clear();
174183
}
175184
}
185+
186+
public static class EntraGroupsPrivileges {
187+
private ArrayList<String> groups = new ArrayList<String>();
188+
189+
public List<String> getGroups() {
190+
return this.groups;
191+
}
192+
193+
public String getGroup(int index) {
194+
return this.groups.get(index);
195+
}
196+
197+
public int getGroupsCount() {
198+
return this.groups.size();
199+
}
200+
201+
public void setGroup(int index, String v) {
202+
this.groups.set(index, v);
203+
}
204+
205+
public void removeGroup(int index) {
206+
this.groups.remove(index);
207+
}
208+
209+
public void addGroup(String v) {
210+
this.groups.add(v);
211+
}
212+
213+
public void addAllGroups(Collection<String> v) {
214+
this.groups.addAll(v);
215+
}
216+
217+
public void setGroups(Collection<String> in) {
218+
this.groups = new ArrayList<>(in);
219+
}
220+
221+
public void clearGroups() {
222+
this.groups.clear();
223+
}
224+
}
176225
}

com/strongdm/api/ActivityVerb.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public final class ActivityVerb {
132132
public static final String ORG_SELF_REGISTRATION_DEACTIVATED = "self-registration deactivated";
133133
public static final String ORG_NAME_UPDATED = "organization name updated";
134134
public static final String ORG_SETTING_UPDATED = "organization setting updated";
135+
public static final String ORG_LOG_CONFIG_UPDATED = "organization logging configuration updated";
135136
public static final String ORG_LOG_SYNC_SETTING_UPDATED =
136137
"organization log stream setting updated";
137138
public static final String ORG_WORKFLOW_SETTING_UPDATED = "organization workflow setting updated";

com/strongdm/api/AzureConsole.java

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
// Copyright 2020 StrongDM Inc
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
16+
// Code generated by protogen. DO NOT EDIT.
17+
18+
package com.strongdm.api;
19+
20+
/**
21+
* AzureConsole is currently unstable, and its API may change, or it may be removed, without a major
22+
* version bump.
23+
*/
24+
public class AzureConsole implements Resource {
25+
private String bindInterface;
26+
/**
27+
* The bind interface is the IP address to which the port override of a resource is bound (for
28+
* example, 127.0.0.1). It is automatically generated if not provided.
29+
*/
30+
public String getBindInterface() {
31+
return this.bindInterface;
32+
}
33+
/**
34+
* The bind interface is the IP address to which the port override of a resource is bound (for
35+
* example, 127.0.0.1). It is automatically generated if not provided.
36+
*/
37+
public void setBindInterface(String in) {
38+
this.bindInterface = in;
39+
}
40+
41+
private String connectorId;
42+
/** The connector ID to authenticate through. */
43+
public String getConnectorId() {
44+
return this.connectorId;
45+
}
46+
/** The connector ID to authenticate through. */
47+
public void setConnectorId(String in) {
48+
this.connectorId = in;
49+
}
50+
51+
private String egressFilter;
52+
/** A filter applied to the routing logic to pin datasource to nodes. */
53+
public String getEgressFilter() {
54+
return this.egressFilter;
55+
}
56+
/** A filter applied to the routing logic to pin datasource to nodes. */
57+
public void setEgressFilter(String in) {
58+
this.egressFilter = in;
59+
}
60+
61+
private boolean healthy;
62+
/** True if the datasource is reachable and the credentials are valid. */
63+
public boolean getHealthy() {
64+
return this.healthy;
65+
}
66+
/** True if the datasource is reachable and the credentials are valid. */
67+
public void setHealthy(boolean in) {
68+
this.healthy = in;
69+
}
70+
71+
private String id;
72+
/** Unique identifier of the Resource. */
73+
public String getId() {
74+
return this.id;
75+
}
76+
/** Unique identifier of the Resource. */
77+
public void setId(String in) {
78+
this.id = in;
79+
}
80+
81+
private String identitySetId;
82+
/** The ID of the identity set to use for identity connections. */
83+
public String getIdentitySetId() {
84+
return this.identitySetId;
85+
}
86+
/** The ID of the identity set to use for identity connections. */
87+
public void setIdentitySetId(String in) {
88+
this.identitySetId = in;
89+
}
90+
91+
private String managementGroupId;
92+
/** The management group ID to authenticate scope Privileges to. */
93+
public String getManagementGroupId() {
94+
return this.managementGroupId;
95+
}
96+
/** The management group ID to authenticate scope Privileges to. */
97+
public void setManagementGroupId(String in) {
98+
this.managementGroupId = in;
99+
}
100+
101+
private String name;
102+
/** Unique human-readable name of the Resource. */
103+
public String getName() {
104+
return this.name;
105+
}
106+
/** Unique human-readable name of the Resource. */
107+
public void setName(String in) {
108+
this.name = in;
109+
}
110+
111+
private String privilegeLevels;
112+
/** The privilege levels specify which Groups are managed externally */
113+
public String getPrivilegeLevels() {
114+
return this.privilegeLevels;
115+
}
116+
/** The privilege levels specify which Groups are managed externally */
117+
public void setPrivilegeLevels(String in) {
118+
this.privilegeLevels = in;
119+
}
120+
121+
private String proxyClusterId;
122+
/** ID of the proxy cluster for this resource, if any. */
123+
public String getProxyClusterId() {
124+
return this.proxyClusterId;
125+
}
126+
/** ID of the proxy cluster for this resource, if any. */
127+
public void setProxyClusterId(String in) {
128+
this.proxyClusterId = in;
129+
}
130+
131+
private String secretStoreId;
132+
/** ID of the secret store containing credentials for this resource, if any. */
133+
public String getSecretStoreId() {
134+
return this.secretStoreId;
135+
}
136+
/** ID of the secret store containing credentials for this resource, if any. */
137+
public void setSecretStoreId(String in) {
138+
this.secretStoreId = in;
139+
}
140+
141+
private String subdomain;
142+
/**
143+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into
144+
* app-prod1.your-org-name.sdm.network)
145+
*/
146+
public String getSubdomain() {
147+
return this.subdomain;
148+
}
149+
/**
150+
* Subdomain is the local DNS address. (e.g. app-prod1 turns into
151+
* app-prod1.your-org-name.sdm.network)
152+
*/
153+
public void setSubdomain(String in) {
154+
this.subdomain = in;
155+
}
156+
157+
private String subscriptionId;
158+
/** The subscription ID to authenticate scope Privileges to. */
159+
public String getSubscriptionId() {
160+
return this.subscriptionId;
161+
}
162+
/** The subscription ID to authenticate scope Privileges to. */
163+
public void setSubscriptionId(String in) {
164+
this.subscriptionId = in;
165+
}
166+
167+
private java.util.Map<String, String> tags;
168+
/** Tags is a map of key, value pairs. */
169+
public java.util.Map<String, String> getTags() {
170+
java.util.Map<String, String> m = new java.util.HashMap<String, String>();
171+
if (this.tags != null) {
172+
m.putAll(this.tags);
173+
}
174+
return m;
175+
}
176+
/** Tags is a map of key, value pairs. */
177+
public void setTags(java.util.Map<String, String> in) {
178+
if (in == null) {
179+
this.tags = null;
180+
return;
181+
}
182+
this.tags = new java.util.HashMap<String, String>();
183+
this.tags.putAll(in);
184+
}
185+
}

com/strongdm/api/SigningCallCredential.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SigningCallCredential extends CallCredentials {
2323
private final String apiAccessKey;
2424
private final String signature;
2525
private static final String API_VERSION = "2025-04-14";
26-
private static final String USER_AGENT = "strongdm-sdk-java/14.21.0";
26+
private static final String USER_AGENT = "strongdm-sdk-java/14.22.0";
2727

2828
protected SigningCallCredential(String apiAccessKey, String signature) {
2929
this.apiAccessKey = apiAccessKey;

com/strongdm/api/Snowflake.java

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,15 @@ public void setName(String in) {
101101
}
102102

103103
private String password;
104-
/** The password to authenticate with. */
104+
/**
105+
* Deprecated: https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/
106+
*/
105107
public String getPassword() {
106108
return this.password;
107109
}
108-
/** The password to authenticate with. */
110+
/**
111+
* Deprecated: https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/
112+
*/
109113
public void setPassword(String in) {
110114
this.password = in;
111115
}
@@ -120,6 +124,16 @@ public void setPortOverride(int in) {
120124
this.portOverride = in;
121125
}
122126

127+
private String privateKey;
128+
/** RSA Private Key for authentication */
129+
public String getPrivateKey() {
130+
return this.privateKey;
131+
}
132+
/** RSA Private Key for authentication */
133+
public void setPrivateKey(String in) {
134+
this.privateKey = in;
135+
}
136+
123137
private String proxyClusterId;
124138
/** ID of the proxy cluster for this resource, if any. */
125139
public String getProxyClusterId() {

0 commit comments

Comments
 (0)