Skip to content

Commit 6d6aeb2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Appsec Fargate Public Documentation (#1221)
Co-authored-by: ci.datadog-api-spec <[email protected]> Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
1 parent 8dd8f13 commit 6d6aeb2

12 files changed

+153
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.4",
7-
"regenerated": "2022-10-31 20:12:28.337559",
8-
"spec_repo_commit": "420bd229"
7+
"regenerated": "2022-11-01 20:07:45.812181",
8+
"spec_repo_commit": "deeff34e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.4",
12-
"regenerated": "2022-10-31 20:12:28.349174",
13-
"spec_repo_commit": "420bd229"
12+
"regenerated": "2022-11-01 20:07:45.925680",
13+
"spec_repo_commit": "deeff34e"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3661,6 +3661,7 @@ components:
36613661
- api_usage
36623662
- apm_fargate_usage
36633663
- apm_host_usage
3664+
- appsec_fargate_usage
36643665
- appsec_usage
36653666
- browser_usage
36663667
- container_usage
@@ -3689,6 +3690,7 @@ components:
36893690
- API_USAGE
36903691
- APM_FARGATE_USAGE
36913692
- APM_HOST_USAGE
3693+
- APPSEC_FARGATE_USAGE
36923694
- APPSEC_USAGE
36933695
- BROWSER_USAGE
36943696
- CONTAINER_USAGE
@@ -6978,6 +6980,8 @@ components:
69786980
- api_percentage
69796981
- apm_fargate_usage
69806982
- apm_fargate_percentage
6983+
- appsec_fargate_usage
6984+
- appsec_fargate_percentage
69816985
- apm_host_usage
69826986
- apm_host_percentage
69836987
- appsec_usage
@@ -7033,6 +7037,8 @@ components:
70337037
- API_PERCENTAGE
70347038
- APM_FARGATE_USAGE
70357039
- APM_FARGATE_PERCENTAGE
7040+
- APPSEC_FARGATE_USAGE
7041+
- APPSEC_FARGATE_PERCENTAGE
70367042
- APM_HOST_USAGE
70377043
- APM_HOST_PERCENTAGE
70387044
- APPSEC_USAGE
@@ -7109,6 +7115,16 @@ components:
71097115
description: The APM host usage by tag(s).
71107116
format: double
71117117
type: number
7118+
appsec_fargate_percentage:
7119+
description: The percentage of Application Security Monitoring ECS Fargate
7120+
task usage by tag(s).
7121+
format: double
7122+
type: number
7123+
appsec_fargate_usage:
7124+
description: The Application Security Monitoring ECS Fargate task usage
7125+
by tag(s).
7126+
format: double
7127+
type: number
71127128
appsec_percentage:
71137129
description: The percentage of Application Security Monitoring host usage
71147130
by tag(s).
@@ -14210,6 +14226,8 @@ components:
1421014226
- estimated_ingested_spans_percentage
1421114227
- apm_fargate_usage
1421214228
- apm_fargate_percentage
14229+
- appsec_fargate_usage
14230+
- appsec_fargate_percentage
1421314231
type: string
1421414232
x-enum-varnames:
1421514233
- API_PERCENTAGE
@@ -14244,6 +14262,8 @@ components:
1424414262
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
1424514263
- APM_FARGATE_USAGE
1424614264
- APM_FARGATE_PERCENTAGE
14265+
- APPSEC_FARGATE_USAGE
14266+
- APPSEC_FARGATE_PERCENTAGE
1424714267
UsageAttributionSupportedMetrics:
1424814268
description: Supported fields for usage attribution requests (valid requests
1424914269
contain one or more metrics, or `*` for all).
@@ -14290,6 +14310,8 @@ components:
1429014310
- estimated_ingested_spans_percentage
1429114311
- apm_fargate_usage
1429214312
- apm_fargate_percentage
14313+
- appsec_fargate_usage
14314+
- appsec_fargate_percentage
1429314315
- '*'
1429414316
type: string
1429514317
x-enum-varnames:
@@ -14335,6 +14357,8 @@ components:
1433514357
- ESTIMATED_INGESTED_SPANS_PERCENTAGE
1433614358
- APM_FARGATE_USAGE
1433714359
- APM_FARGATE_PERCENTAGE
14360+
- APPSEC_FARGATE_USAGE
14361+
- APPSEC_FARGATE_PERCENTAGE
1433814362
- ALL
1433914363
UsageAttributionTagNames:
1434014364
additionalProperties:
@@ -14391,6 +14415,16 @@ components:
1439114415
description: The APM host usage by tag(s).
1439214416
format: double
1439314417
type: number
14418+
appsec_fargate_percentage:
14419+
description: The percentage of Application Security Monitoring ECS Fargate
14420+
task usage by tag(s).
14421+
format: double
14422+
type: number
14423+
appsec_fargate_usage:
14424+
description: The Application Security Monitoring ECS Fargate task usage
14425+
by tag(s).
14426+
format: double
14427+
type: number
1439414428
appsec_percentage:
1439514429
description: The percentage of Application Security Monitoring host usage
1439614430
by tag(s).
@@ -15076,6 +15110,11 @@ components:
1507615110
hour.
1507715111
format: int64
1507815112
type: integer
15113+
appsec_fargate_count:
15114+
description: The Application Security Monitoring ECS Fargate tasks during
15115+
the given hour.
15116+
format: int64
15117+
type: integer
1507915118
avg_profiled_fargate_tasks:
1508015119
description: The average profiled task count for Fargate Profiling.
1508115120
format: int64
@@ -15907,6 +15946,11 @@ components:
1590715946
hours in the current date for all organizations.
1590815947
format: int64
1590915948
type: integer
15949+
appsec_fargate_count_avg:
15950+
description: Shows the average of all Application Security Monitoring ECS
15951+
Fargate tasks over all hours in the current date for all organizations.
15952+
format: int64
15953+
type: integer
1591015954
audit_logs_lines_indexed_sum:
1591115955
description: Shows the sum of audit logs lines indexed over all hours in
1591215956
the current date for all organizations.
@@ -16257,6 +16301,11 @@ components:
1625716301
hours in the current date for the given org.
1625816302
format: int64
1625916303
type: integer
16304+
appsec_fargate_count_avg:
16305+
description: Shows the average of all Application Security Monitoring ECS
16306+
Fargate tasks over all hours in the current months for the given org.
16307+
format: int64
16308+
type: integer
1626016309
audit_logs_lines_indexed_sum:
1626116310
description: Shows the sum of all audit logs lines indexed over all hours
1626216311
in the current date for the given org.
@@ -16610,6 +16659,11 @@ components:
1661016659
hours in the current months for all organizations.
1661116660
format: int64
1661216661
type: integer
16662+
appsec_fargate_count_avg_sum:
16663+
description: Shows the average of all Application Security Monitoring ECS
16664+
Fargate tasks over all hours in the current months for all organizations.
16665+
format: int64
16666+
type: integer
1661316667
audit_logs_lines_indexed_agg_sum:
1661416668
description: Shows the sum of all audit logs lines indexed over all hours
1661516669
in the current months for all organizations.

src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ class HourlyUsageAttributionUsageType(ModelSimple):
1616
"""
1717
Supported products for hourly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage"].
19+
:param value: Must be one of ["api_usage", "apm_fargate_usage", "apm_host_usage", "appsec_fargate_usage", "appsec_usage", "browser_usage", "container_usage", "cspm_containers_usage", "cspm_hosts_usage", "custom_timeseries_usage", "cws_containers_usage", "cws_hosts_usage", "dbm_hosts_usage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_ingested_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_spans_usage", "fargate_usage", "functions_usage", "indexed_logs_usage", "infra_host_usage", "invocations_usage", "npm_host_usage", "profiled_container_usage", "profiled_host_usage", "snmp_usage"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"api_usage",
2525
"apm_fargate_usage",
2626
"apm_host_usage",
27+
"appsec_fargate_usage",
2728
"appsec_usage",
2829
"browser_usage",
2930
"container_usage",
@@ -51,6 +52,7 @@ class HourlyUsageAttributionUsageType(ModelSimple):
5152
API_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5253
APM_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5354
APM_HOST_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
55+
APPSEC_FARGATE_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5456
APPSEC_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5557
BROWSER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
5658
CONTAINER_USAGE: ClassVar["HourlyUsageAttributionUsageType"]
@@ -85,6 +87,7 @@ def openapi_types(_):
8587
HourlyUsageAttributionUsageType.API_USAGE = HourlyUsageAttributionUsageType("api_usage")
8688
HourlyUsageAttributionUsageType.APM_FARGATE_USAGE = HourlyUsageAttributionUsageType("apm_fargate_usage")
8789
HourlyUsageAttributionUsageType.APM_HOST_USAGE = HourlyUsageAttributionUsageType("apm_host_usage")
90+
HourlyUsageAttributionUsageType.APPSEC_FARGATE_USAGE = HourlyUsageAttributionUsageType("appsec_fargate_usage")
8891
HourlyUsageAttributionUsageType.APPSEC_USAGE = HourlyUsageAttributionUsageType("appsec_usage")
8992
HourlyUsageAttributionUsageType.BROWSER_USAGE = HourlyUsageAttributionUsageType("browser_usage")
9093
HourlyUsageAttributionUsageType.CONTAINER_USAGE = HourlyUsageAttributionUsageType("container_usage")

src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
1616
"""
1717
Supported metrics for monthly usage attribution requests.
1818
19-
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "*"].
19+
:param value: Must be one of ["api_usage", "api_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage", "apm_host_usage", "apm_host_percentage", "appsec_usage", "appsec_percentage", "browser_usage", "browser_percentage", "container_usage", "container_percentage", "cspm_containers_percentage", "cspm_containers_usage", "cspm_hosts_percentage", "cspm_hosts_usage", "custom_timeseries_usage", "custom_timeseries_percentage", "cws_containers_percentage", "cws_containers_usage", "cws_hosts_percentage", "cws_hosts_usage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "fargate_usage", "fargate_percentage", "functions_usage", "functions_percentage", "indexed_logs_usage", "indexed_logs_percentage", "infra_host_usage", "infra_host_percentage", "invocations_usage", "invocations_percentage", "npm_host_usage", "npm_host_percentage", "profiled_container_usage", "profiled_container_percentage", "profiled_host_usage", "profiled_host_percentage", "snmp_usage", "snmp_percentage", "*"].
2020
:type value: str
2121
"""
2222

@@ -25,6 +25,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
2525
"api_percentage",
2626
"apm_fargate_usage",
2727
"apm_fargate_percentage",
28+
"appsec_fargate_usage",
29+
"appsec_fargate_percentage",
2830
"apm_host_usage",
2931
"apm_host_percentage",
3032
"appsec_usage",
@@ -79,6 +81,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple):
7981
API_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
8082
APM_FARGATE_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
8183
APM_FARGATE_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
84+
APPSEC_FARGATE_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
85+
APPSEC_FARGATE_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
8286
APM_HOST_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
8387
APM_HOST_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
8488
APPSEC_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"]
@@ -142,6 +146,12 @@ def openapi_types(_):
142146
MonthlyUsageAttributionSupportedMetrics.APM_FARGATE_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
143147
"apm_fargate_percentage"
144148
)
149+
MonthlyUsageAttributionSupportedMetrics.APPSEC_FARGATE_USAGE = MonthlyUsageAttributionSupportedMetrics(
150+
"appsec_fargate_usage"
151+
)
152+
MonthlyUsageAttributionSupportedMetrics.APPSEC_FARGATE_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
153+
"appsec_fargate_percentage"
154+
)
145155
MonthlyUsageAttributionSupportedMetrics.APM_HOST_USAGE = MonthlyUsageAttributionSupportedMetrics("apm_host_usage")
146156
MonthlyUsageAttributionSupportedMetrics.APM_HOST_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics(
147157
"apm_host_percentage"

src/datadog_api_client/v1/model/monthly_usage_attribution_values.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ def openapi_types(_):
2323
"apm_fargate_usage": (float,),
2424
"apm_host_percentage": (float,),
2525
"apm_host_usage": (float,),
26+
"appsec_fargate_percentage": (float,),
27+
"appsec_fargate_usage": (float,),
2628
"appsec_percentage": (float,),
2729
"appsec_usage": (float,),
2830
"browser_percentage": (float,),
@@ -66,6 +68,8 @@ def openapi_types(_):
6668
"apm_fargate_usage": "apm_fargate_usage",
6769
"apm_host_percentage": "apm_host_percentage",
6870
"apm_host_usage": "apm_host_usage",
71+
"appsec_fargate_percentage": "appsec_fargate_percentage",
72+
"appsec_fargate_usage": "appsec_fargate_usage",
6973
"appsec_percentage": "appsec_percentage",
7074
"appsec_usage": "appsec_usage",
7175
"browser_percentage": "browser_percentage",
@@ -110,6 +114,8 @@ def __init__(
110114
apm_fargate_usage: Union[float, UnsetType] = unset,
111115
apm_host_percentage: Union[float, UnsetType] = unset,
112116
apm_host_usage: Union[float, UnsetType] = unset,
117+
appsec_fargate_percentage: Union[float, UnsetType] = unset,
118+
appsec_fargate_usage: Union[float, UnsetType] = unset,
113119
appsec_percentage: Union[float, UnsetType] = unset,
114120
appsec_usage: Union[float, UnsetType] = unset,
115121
browser_percentage: Union[float, UnsetType] = unset,
@@ -167,6 +173,12 @@ def __init__(
167173
:param apm_host_usage: The APM host usage by tag(s).
168174
:type apm_host_usage: float, optional
169175
176+
:param appsec_fargate_percentage: The percentage of Application Security Monitoring ECS Fargate task usage by tag(s).
177+
:type appsec_fargate_percentage: float, optional
178+
179+
:param appsec_fargate_usage: The Application Security Monitoring ECS Fargate task usage by tag(s).
180+
:type appsec_fargate_usage: float, optional
181+
170182
:param appsec_percentage: The percentage of Application Security Monitoring host usage by tag(s).
171183
:type appsec_percentage: float, optional
172184
@@ -281,6 +293,10 @@ def __init__(
281293
kwargs["apm_host_percentage"] = apm_host_percentage
282294
if apm_host_usage is not unset:
283295
kwargs["apm_host_usage"] = apm_host_usage
296+
if appsec_fargate_percentage is not unset:
297+
kwargs["appsec_fargate_percentage"] = appsec_fargate_percentage
298+
if appsec_fargate_usage is not unset:
299+
kwargs["appsec_fargate_usage"] = appsec_fargate_usage
284300
if appsec_percentage is not unset:
285301
kwargs["appsec_percentage"] = appsec_percentage
286302
if appsec_usage is not unset:

src/datadog_api_client/v1/model/usage_attribution_sort.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class UsageAttributionSort(ModelSimple):
1616
"""
1717
The field to sort by.
1818
19-
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage"].
19+
:param value: If omitted defaults to "custom_timeseries_usage". Must be one of ["api_percentage", "snmp_usage", "apm_host_usage", "api_usage", "appsec_usage", "appsec_percentage", "container_usage", "custom_timeseries_percentage", "container_percentage", "apm_host_percentage", "npm_host_percentage", "browser_percentage", "browser_usage", "infra_host_percentage", "snmp_percentage", "npm_host_usage", "infra_host_usage", "custom_timeseries_usage", "lambda_functions_usage", "lambda_functions_percentage", "lambda_invocations_usage", "lambda_invocations_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_percentage", "estimated_indexed_spans_usage", "estimated_indexed_spans_percentage", "estimated_ingested_spans_usage", "estimated_ingested_spans_percentage", "apm_fargate_usage", "apm_fargate_percentage", "appsec_fargate_usage", "appsec_fargate_percentage"].
2020
:type value: str
2121
"""
2222

@@ -53,6 +53,8 @@ class UsageAttributionSort(ModelSimple):
5353
"estimated_ingested_spans_percentage",
5454
"apm_fargate_usage",
5555
"apm_fargate_percentage",
56+
"appsec_fargate_usage",
57+
"appsec_fargate_percentage",
5658
}
5759
API_PERCENTAGE: ClassVar["UsageAttributionSort"]
5860
SNMP_USAGE: ClassVar["UsageAttributionSort"]
@@ -86,6 +88,8 @@ class UsageAttributionSort(ModelSimple):
8688
ESTIMATED_INGESTED_SPANS_PERCENTAGE: ClassVar["UsageAttributionSort"]
8789
APM_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
8890
APM_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
91+
APPSEC_FARGATE_USAGE: ClassVar["UsageAttributionSort"]
92+
APPSEC_FARGATE_PERCENTAGE: ClassVar["UsageAttributionSort"]
8993

9094
@cached_property
9195
def openapi_types(_):
@@ -126,3 +130,5 @@ def openapi_types(_):
126130
UsageAttributionSort.ESTIMATED_INGESTED_SPANS_PERCENTAGE = UsageAttributionSort("estimated_ingested_spans_percentage")
127131
UsageAttributionSort.APM_FARGATE_USAGE = UsageAttributionSort("apm_fargate_usage")
128132
UsageAttributionSort.APM_FARGATE_PERCENTAGE = UsageAttributionSort("apm_fargate_percentage")
133+
UsageAttributionSort.APPSEC_FARGATE_USAGE = UsageAttributionSort("appsec_fargate_usage")
134+
UsageAttributionSort.APPSEC_FARGATE_PERCENTAGE = UsageAttributionSort("appsec_fargate_percentage")

0 commit comments

Comments
 (0)