Skip to content

Commit 01c08a0

Browse files
authored
Merge pull request #364 from microsoftgraph/beta/pipelinebuild/83539
Generated beta models and request builders using Typewriter
2 parents 517e2ab + d24dbd3 commit 01c08a0

29 files changed

+178
-156
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [0.54.0] - 2022-08-23
15+
16+
### Added
17+
18+
### Changed
19+
20+
- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
21+
- VerifiedPublisher property added to ServicePrincipal model.
22+
1423
## [0.53.0] - 2022-08-18
1524

1625
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.53.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.54.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.53.0-SNAPSHOT</version>
40+
<version>0.54.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -190,5 +190,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
190190

191191

192192

193+
193194

194195

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-beta
2828
mavenMajorVersion = 0
29-
mavenMinorVersion = 53
29+
mavenMinorVersion = 54
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -89,5 +89,6 @@ mavenCentralPublishingEnabled=false
8989

9090

9191

92+
9293

9394

src/main/java/com/microsoft/graph/info/Constants.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private Constants() {
1818
/** The client secret to use for unit testing */
1919
public static final String CLIENTSECRET = "clientsecret";
2020
/** The SDK version */
21-
public static final String VERSION_NAME = "0.53.0";
21+
public static final String VERSION_NAME = "0.54.0";
2222
}
2323

2424

@@ -64,5 +64,6 @@ private Constants() {
6464

6565

6666

67+
6768

6869

src/main/java/com/microsoft/graph/models/Security.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public class Security extends Entity implements IJsonBackedObject {
8585

8686
/**
8787
* The Alerts_v2.
88-
*
88+
* A collection of alerts in Microsoft 365 Defender.
8989
*/
9090
@SerializedName(value = "alerts_v2", alternate = {"Alerts_v2"})
9191
@Expose
@@ -94,7 +94,7 @@ public class Security extends Entity implements IJsonBackedObject {
9494

9595
/**
9696
* The Incidents.
97-
*
97+
* A collection of incidents in Microsoft 365 Defender, each of which is a set of correlated alerts and associated metadata that reflects the story of an attack.
9898
*/
9999
@SerializedName(value = "incidents", alternate = {"Incidents"})
100100
@Expose
@@ -220,7 +220,7 @@ public class Security extends Entity implements IJsonBackedObject {
220220

221221
/**
222222
* The Secure Scores.
223-
*
223+
* Measurements of tenants’ security posture to help protect them from threats.
224224
*/
225225
@SerializedName(value = "secureScores", alternate = {"SecureScores"})
226226
@Expose

src/main/java/com/microsoft/graph/models/ServicePrincipal.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import com.microsoft.graph.models.PasswordCredential;
1919
import com.microsoft.graph.models.PermissionScope;
2020
import com.microsoft.graph.models.SamlSingleSignOnSettings;
21+
import com.microsoft.graph.models.VerifiedPublisher;
2122
import com.microsoft.graph.models.Synchronization;
2223
import com.microsoft.graph.models.DirectoryObject;
2324
import com.microsoft.graph.requests.AppManagementPolicyCollectionPage;
@@ -378,6 +379,15 @@ public class ServicePrincipal extends DirectoryObject implements IJsonBackedObje
378379
@Nullable
379380
public java.util.UUID tokenEncryptionKeyId;
380381

382+
/**
383+
* The Verified Publisher.
384+
* Specifies the verified publisher of the application which this service principal represents.
385+
*/
386+
@SerializedName(value = "verifiedPublisher", alternate = {"VerifiedPublisher"})
387+
@Expose
388+
@Nullable
389+
public VerifiedPublisher verifiedPublisher;
390+
381391
/**
382392
* The App Management Policies.
383393
* The appManagementPolicy applied to this service principal.

src/main/java/com/microsoft/graph/securitynamespace/models/Alert.java

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class Alert extends Entity implements IJsonBackedObject {
3636

3737
/**
3838
* The Actor Display Name.
39-
*
39+
* The adversary or activity group that is associated with this alert.
4040
*/
4141
@SerializedName(value = "actorDisplayName", alternate = {"ActorDisplayName"})
4242
@Expose
@@ -45,7 +45,7 @@ public class Alert extends Entity implements IJsonBackedObject {
4545

4646
/**
4747
* The Alert Web Url.
48-
*
48+
* URL for the alert page in the Microsoft 365 Defender portal.
4949
*/
5050
@SerializedName(value = "alertWebUrl", alternate = {"AlertWebUrl"})
5151
@Expose
@@ -54,7 +54,7 @@ public class Alert extends Entity implements IJsonBackedObject {
5454

5555
/**
5656
* The Assigned To.
57-
*
57+
* Owner of the alert, or null if no owner is assigned.
5858
*/
5959
@SerializedName(value = "assignedTo", alternate = {"AssignedTo"})
6060
@Expose
@@ -63,7 +63,7 @@ public class Alert extends Entity implements IJsonBackedObject {
6363

6464
/**
6565
* The Category.
66-
*
66+
* The attack kill-chain category that the alert belongs to. Aligned with the MITRE ATT&amp;CK framework.
6767
*/
6868
@SerializedName(value = "category", alternate = {"Category"})
6969
@Expose
@@ -72,7 +72,7 @@ public class Alert extends Entity implements IJsonBackedObject {
7272

7373
/**
7474
* The Classification.
75-
*
75+
* Specifies whether the alert represents a true threat. Possible values are: unknown, falsePositive, truePositive, benignPositive, unknownFutureValue.
7676
*/
7777
@SerializedName(value = "classification", alternate = {"Classification"})
7878
@Expose
@@ -81,7 +81,7 @@ public class Alert extends Entity implements IJsonBackedObject {
8181

8282
/**
8383
* The Comments.
84-
*
84+
* Array of comments created by the Security Operations (SecOps) team during the alert management process.
8585
*/
8686
@SerializedName(value = "comments", alternate = {"Comments"})
8787
@Expose
@@ -90,7 +90,7 @@ public class Alert extends Entity implements IJsonBackedObject {
9090

9191
/**
9292
* The Created Date Time.
93-
*
93+
* Time when Microsoft 365 Defender created the alert.
9494
*/
9595
@SerializedName(value = "createdDateTime", alternate = {"CreatedDateTime"})
9696
@Expose
@@ -99,7 +99,7 @@ public class Alert extends Entity implements IJsonBackedObject {
9999

100100
/**
101101
* The Description.
102-
*
102+
* String value describing each alert.
103103
*/
104104
@SerializedName(value = "description", alternate = {"Description"})
105105
@Expose
@@ -108,7 +108,7 @@ public class Alert extends Entity implements IJsonBackedObject {
108108

109109
/**
110110
* The Detection Source.
111-
*
111+
* Detection technology or sensor that identified the notable component or activity.
112112
*/
113113
@SerializedName(value = "detectionSource", alternate = {"DetectionSource"})
114114
@Expose
@@ -117,7 +117,7 @@ public class Alert extends Entity implements IJsonBackedObject {
117117

118118
/**
119119
* The Detector Id.
120-
*
120+
* The ID of the detector that triggered the alert.
121121
*/
122122
@SerializedName(value = "detectorId", alternate = {"DetectorId"})
123123
@Expose
@@ -126,7 +126,7 @@ public class Alert extends Entity implements IJsonBackedObject {
126126

127127
/**
128128
* The Determination.
129-
*
129+
* Specifies the result of the investigation, whether the alert represents a true attack and if so, the nature of the attack. Possible values are: unknown, apt, malware, securityPersonnel, securityTesting, unwantedSoftware, other, multiStagedAttack, compromisedUser, phishing, maliciousUserActivity, clean, insufficientData, confirmedUserActivity, lineOfBusinessApplication, unknownFutureValue.
130130
*/
131131
@SerializedName(value = "determination", alternate = {"Determination"})
132132
@Expose
@@ -135,7 +135,7 @@ public class Alert extends Entity implements IJsonBackedObject {
135135

136136
/**
137137
* The Evidence.
138-
*
138+
* Collection of evidence related to the alert.
139139
*/
140140
@SerializedName(value = "evidence", alternate = {"Evidence"})
141141
@Expose
@@ -144,7 +144,7 @@ public class Alert extends Entity implements IJsonBackedObject {
144144

145145
/**
146146
* The First Activity Date Time.
147-
*
147+
* The earliest activity associated with the alert.
148148
*/
149149
@SerializedName(value = "firstActivityDateTime", alternate = {"FirstActivityDateTime"})
150150
@Expose
@@ -153,7 +153,7 @@ public class Alert extends Entity implements IJsonBackedObject {
153153

154154
/**
155155
* The Incident Id.
156-
*
156+
* Unique identifier to represent the incident this alert resource is associated with.
157157
*/
158158
@SerializedName(value = "incidentId", alternate = {"IncidentId"})
159159
@Expose
@@ -162,7 +162,7 @@ public class Alert extends Entity implements IJsonBackedObject {
162162

163163
/**
164164
* The Incident Web Url.
165-
*
165+
* URL for the incident page in the Microsoft 365 Defender portal.
166166
*/
167167
@SerializedName(value = "incidentWebUrl", alternate = {"IncidentWebUrl"})
168168
@Expose
@@ -171,7 +171,7 @@ public class Alert extends Entity implements IJsonBackedObject {
171171

172172
/**
173173
* The Last Activity Date Time.
174-
*
174+
* The oldest activity associated with the alert.
175175
*/
176176
@SerializedName(value = "lastActivityDateTime", alternate = {"LastActivityDateTime"})
177177
@Expose
@@ -180,7 +180,7 @@ public class Alert extends Entity implements IJsonBackedObject {
180180

181181
/**
182182
* The Last Update Date Time.
183-
*
183+
* Time when the alert was last updated at Microsoft 365 Defender.
184184
*/
185185
@SerializedName(value = "lastUpdateDateTime", alternate = {"LastUpdateDateTime"})
186186
@Expose
@@ -189,7 +189,7 @@ public class Alert extends Entity implements IJsonBackedObject {
189189

190190
/**
191191
* The Mitre Techniques.
192-
*
192+
* The attack techniques, as aligned with the MITRE ATT&amp;CK framework.
193193
*/
194194
@SerializedName(value = "mitreTechniques", alternate = {"MitreTechniques"})
195195
@Expose
@@ -198,7 +198,7 @@ public class Alert extends Entity implements IJsonBackedObject {
198198

199199
/**
200200
* The Provider Alert Id.
201-
*
201+
* The ID of the alert as it appears in the security provider product that generated the alert.
202202
*/
203203
@SerializedName(value = "providerAlertId", alternate = {"ProviderAlertId"})
204204
@Expose
@@ -207,7 +207,7 @@ public class Alert extends Entity implements IJsonBackedObject {
207207

208208
/**
209209
* The Recommended Actions.
210-
*
210+
* Recommended response and remediation actions to take in the event this alert was generated.
211211
*/
212212
@SerializedName(value = "recommendedActions", alternate = {"RecommendedActions"})
213213
@Expose
@@ -216,7 +216,7 @@ public class Alert extends Entity implements IJsonBackedObject {
216216

217217
/**
218218
* The Resolved Date Time.
219-
*
219+
* Time when the alert was resolved.
220220
*/
221221
@SerializedName(value = "resolvedDateTime", alternate = {"ResolvedDateTime"})
222222
@Expose
@@ -225,7 +225,7 @@ public class Alert extends Entity implements IJsonBackedObject {
225225

226226
/**
227227
* The Service Source.
228-
*
228+
* The service or product that created this alert. Possible values are: microsoftDefenderForEndpoint, microsoftDefenderForIdentity, microsoftCloudAppSecurity, microsoftDefenderForOffice365, microsoft365Defender, aadIdentityProtection, appGovernance, dataLossPrevention.
229229
*/
230230
@SerializedName(value = "serviceSource", alternate = {"ServiceSource"})
231231
@Expose
@@ -234,7 +234,7 @@ public class Alert extends Entity implements IJsonBackedObject {
234234

235235
/**
236236
* The Severity.
237-
*
237+
* Indicates the possible impact on assets. The higher the severity the bigger the impact. Typically higher severity items require the most immediate attention. Possible values are: unknown, informational, low, medium, high, unknownFutureValue.
238238
*/
239239
@SerializedName(value = "severity", alternate = {"Severity"})
240240
@Expose
@@ -243,7 +243,7 @@ public class Alert extends Entity implements IJsonBackedObject {
243243

244244
/**
245245
* The Status.
246-
*
246+
* The status of the alert. Possible values are: new, inProgress, resolved, unknownFutureValue.
247247
*/
248248
@SerializedName(value = "status", alternate = {"Status"})
249249
@Expose
@@ -252,7 +252,7 @@ public class Alert extends Entity implements IJsonBackedObject {
252252

253253
/**
254254
* The Tenant Id.
255-
*
255+
* The Azure Active Directory tenant the alert was created in.
256256
*/
257257
@SerializedName(value = "tenantId", alternate = {"TenantId"})
258258
@Expose
@@ -261,7 +261,7 @@ public class Alert extends Entity implements IJsonBackedObject {
261261

262262
/**
263263
* The Threat Display Name.
264-
*
264+
* The threat associated with this alert.
265265
*/
266266
@SerializedName(value = "threatDisplayName", alternate = {"ThreatDisplayName"})
267267
@Expose
@@ -270,7 +270,7 @@ public class Alert extends Entity implements IJsonBackedObject {
270270

271271
/**
272272
* The Threat Family Name.
273-
*
273+
* Threat family associated with this alert.
274274
*/
275275
@SerializedName(value = "threatFamilyName", alternate = {"ThreatFamilyName"})
276276
@Expose
@@ -279,7 +279,7 @@ public class Alert extends Entity implements IJsonBackedObject {
279279

280280
/**
281281
* The Title.
282-
*
282+
* Brief identifying string value describing the alert.
283283
*/
284284
@SerializedName(value = "title", alternate = {"Title"})
285285
@Expose

0 commit comments

Comments
 (0)