Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
389 changes: 319 additions & 70 deletions .generator/schemas/v2/openapi.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ public void setApiClient(ApiClient apiClient) {
*
* <p>See {@link #activateContentPackWithHttpInfo}.
*
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
* </code>). (required)
* @param contentPackId The ID of the content pack to activate. (required)
* @throws ApiException if fails to make API call
*/
public void activateContentPack(String contentPackId) throws ApiException {
Expand All @@ -171,8 +170,7 @@ public void activateContentPack(String contentPackId) throws ApiException {
*
* <p>See {@link #activateContentPackWithHttpInfoAsync}.
*
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
* </code>). (required)
* @param contentPackId The ID of the content pack to activate. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> activateContentPackAsync(String contentPackId) {
Expand All @@ -184,11 +182,11 @@ public CompletableFuture<Void> activateContentPackAsync(String contentPackId) {
}

/**
* Activate a Cloud SIEM content pack. This operation configures the necessary log filters or
* security filters depending on the pricing model and updates the content pack activation state.
* Activate a security monitoring content pack. This operation configures the necessary log
* filters or security filters depending on the pricing model and updates the content pack
* activation state.
*
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
* </code>). (required)
* @param contentPackId The ID of the content pack to activate. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -234,7 +232,7 @@ public ApiResponse<Void> activateContentPackWithHttpInfo(String contentPackId)
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"*/*"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
return apiClient.invokeAPI(
"PUT",
builder,
Expand All @@ -251,8 +249,7 @@ public ApiResponse<Void> activateContentPackWithHttpInfo(String contentPackId)
*
* <p>See {@link #activateContentPackWithHttpInfo}.
*
* @param contentPackId The ID of the content pack to activate (for example, <code>aws-cloudtrail
* </code>). (required)
* @param contentPackId The ID of the content pack to activate. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> activateContentPackWithHttpInfoAsync(
Expand Down Expand Up @@ -297,7 +294,7 @@ public CompletableFuture<ApiResponse<Void>> activateContentPackWithHttpInfoAsync
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"*/*"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
} catch (ApiException ex) {
CompletableFuture<ApiResponse<Void>> result = new CompletableFuture<>();
result.completeExceptionally(ex);
Expand Down Expand Up @@ -3426,8 +3423,7 @@ public ApiResponse<NotificationRuleResponse> createVulnerabilityNotificationRule
*
* <p>See {@link #deactivateContentPackWithHttpInfo}.
*
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
* aws-cloudtrail</code>). (required)
* @param contentPackId The ID of the content pack to deactivate. (required)
* @throws ApiException if fails to make API call
*/
public void deactivateContentPack(String contentPackId) throws ApiException {
Expand All @@ -3439,8 +3435,7 @@ public void deactivateContentPack(String contentPackId) throws ApiException {
*
* <p>See {@link #deactivateContentPackWithHttpInfoAsync}.
*
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
* aws-cloudtrail</code>). (required)
* @param contentPackId The ID of the content pack to deactivate. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> deactivateContentPackAsync(String contentPackId) {
Expand All @@ -3452,11 +3447,11 @@ public CompletableFuture<Void> deactivateContentPackAsync(String contentPackId)
}

/**
* Deactivate a Cloud SIEM content pack. This operation removes the content pack's configuration
* from log filters or security filters and updates the content pack activation state.
* Deactivate a security monitoring content pack. This operation removes the content pack's
* configuration from log filters or security filters and updates the content pack activation
* state.
*
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
* aws-cloudtrail</code>). (required)
* @param contentPackId The ID of the content pack to deactivate. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
Expand Down Expand Up @@ -3502,7 +3497,7 @@ public ApiResponse<Void> deactivateContentPackWithHttpInfo(String contentPackId)
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"*/*"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
return apiClient.invokeAPI(
"PUT",
builder,
Expand All @@ -3519,8 +3514,7 @@ public ApiResponse<Void> deactivateContentPackWithHttpInfo(String contentPackId)
*
* <p>See {@link #deactivateContentPackWithHttpInfo}.
*
* @param contentPackId The ID of the content pack to deactivate (for example, <code>
* aws-cloudtrail</code>). (required)
* @param contentPackId The ID of the content pack to deactivate. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> deactivateContentPackWithHttpInfoAsync(
Expand Down Expand Up @@ -3565,7 +3559,7 @@ public CompletableFuture<ApiResponse<Void>> deactivateContentPackWithHttpInfoAsy
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"*/*"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
} catch (ApiException ex) {
CompletableFuture<ApiResponse<Void>> result = new CompletableFuture<>();
result.completeExceptionally(ex);
Expand Down Expand Up @@ -5765,8 +5759,9 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
}

/**
* Get the activation state, integration status, and log collection status for all Cloud SIEM
* content packs.
* Get the activation and configuration states for all security monitoring content packs. This
* endpoint returns status information about each content pack including activation state,
* integration status, and log collection status.
*
* @return ApiResponse&lt;SecurityMonitoringContentPackStatesResponse&gt;
* @throws ApiException if fails to make API call
Expand Down Expand Up @@ -5803,7 +5798,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"application/json"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
return apiClient.invokeAPI(
"GET",
builder,
Expand Down Expand Up @@ -5851,7 +5846,7 @@ public SecurityMonitoringContentPackStatesResponse getContentPacksStates() throw
localVarHeaderParams,
new HashMap<String, String>(),
new String[] {"application/json"},
new String[] {"apiKeyAuth", "appKeyAuth", "AuthZ"});
new String[] {"apiKeyAuth", "appKeyAuth"});
} catch (ApiException ex) {
CompletableFuture<ApiResponse<SecurityMonitoringContentPackStatesResponse>> result =
new CompletableFuture<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.HashSet;
import java.util.Set;

/** The activation status of a content pack. */
/** The activation status of a content pack */
@JsonSerialize(
using =
SecurityMonitoringContentPackActivation.SecurityMonitoringContentPackActivationSerializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.HashSet;
import java.util.Set;

/** The installation status of the related integration. */
/** The installation status of the related integration */
@JsonSerialize(
using =
SecurityMonitoringContentPackIntegrationStatus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public SecurityMonitoringContentPackStateAttributes cpActivation(
}

/**
* The activation status of a content pack.
* The activation status of a content pack
*
* @return cpActivation
*/
Expand All @@ -136,8 +136,8 @@ public SecurityMonitoringContentPackStateAttributes filtersConfiguredForLogs(
}

/**
* Whether filters (Security Filters or Index Query depending on the pricing model) are present
* and correctly configured to route logs into Cloud SIEM.
* Whether filters (Security Filters or Index Query depending on the pricing model) are configured
* for logs
*
* @return filtersConfiguredForLogs
*/
Expand All @@ -159,7 +159,7 @@ public SecurityMonitoringContentPackStateAttributes integrationInstalledStatus(
}

/**
* The installation status of the related integration.
* The installation status of the related integration
*
* @return integrationInstalledStatus
*/
Expand All @@ -186,7 +186,7 @@ public SecurityMonitoringContentPackStateAttributes logsLastCollected(
}

/**
* Timestamp bucket indicating when logs were last collected.
* Timestamp bucket indicating when logs were last collected
*
* @return logsLastCollected
*/
Expand All @@ -210,8 +210,7 @@ public SecurityMonitoringContentPackStateAttributes logsSeenFromAnyIndex(
}

/**
* Whether logs for this content pack have been seen in any Datadog index within the last 72
* hours.
* Whether logs have been seen from any index
*
* @return logsSeenFromAnyIndex
*/
Expand All @@ -233,7 +232,7 @@ public SecurityMonitoringContentPackStateAttributes state(
}

/**
* The current operational status of a content pack.
* The current status of a content pack
*
* @return state
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public SecurityMonitoringContentPackStateMeta sku(SecurityMonitoringSKU sku) {
}

/**
* The Cloud SIEM pricing model (SKU) for the organization.
* The SIEM pricing model (SKU) for the organization
*
* @return sku
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.HashSet;
import java.util.Set;

/** The current operational status of a content pack. */
/** The current status of a content pack */
@JsonSerialize(
using = SecurityMonitoringContentPackStatus.SecurityMonitoringContentPackStatusSerializer.class)
public class SecurityMonitoringContentPackStatus extends ModelEnum<String> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.HashSet;
import java.util.Set;

/** Timestamp bucket indicating when logs were last collected. */
/** Timestamp bucket indicating when logs were last collected */
@JsonSerialize(
using =
SecurityMonitoringContentPackTimestampBucket
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.HashSet;
import java.util.Set;

/** The Cloud SIEM pricing model (SKU) for the organization. */
/** The SIEM pricing model (SKU) for the organization */
@JsonSerialize(using = SecurityMonitoringSKU.SecurityMonitoringSKUSerializer.class)
public class SecurityMonitoringSKU extends ModelEnum<String> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31d"
"id": "d5bade64-6ebb-4f4d-903d-8069b52bb31e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a8"
"id": "73fd406e-d686-10bd-50ee-83f2c499e8a9"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eea"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "a3ebb722-60eb-fa89-589a-ff3630e3a2cd"
"id": "a3ebb722-60eb-fa89-589a-ff3630e3a2ce"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eec"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef690"
"id": "3d4d0603-9fed-1cc5-8004-086b9b6ef691"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "101a55f5-5a26-d616-5fb4-8d0451d83d10"
"id": "101a55f5-5a26-d616-5fb4-8d0451d83d11"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d11"
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"timeToLive": {
"unlimited": true
},
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d0e"
"id": "d0ec7736-ef6c-d071-3390-4a5c3a301d10"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9ee9"
"id": "194b15fb-fcae-9b9a-e1a7-0daa19dc9eeb"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e70145f1"
"id": "79babc38-7a70-5347-c8a6-73b0e70145ec"
},
{
"httpRequest": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"timeToLive": {
"unlimited": true
},
"id": "79babc38-7a70-5347-c8a6-73b0e70145ed"
"id": "79babc38-7a70-5347-c8a6-73b0e70145eb"
},
{
"httpRequest": {
Expand Down
Loading
Loading