Skip to content

Commit

Permalink
Regenerate client from commit 3408b7e of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 10, 2021
1 parent 5eb0d4c commit 55d8fd3
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-12-07 14:19:59.354576",
"spec_repo_commit": "df97aef"
"regenerated": "2021-12-10 14:02:28.511919",
"spec_repo_commit": "3408b7e"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-12-07 14:19:59.374987",
"spec_repo_commit": "df97aef"
"regenerated": "2021-12-10 14:02:28.534128",
"spec_repo_commit": "3408b7e"
}
}
}
2 changes: 1 addition & 1 deletion .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4896,7 +4896,7 @@ components:
format: array
items:
description: The tag associated with the security signal.
format: string
type: string
timestamp:
description: The timestamp of the security signal.
example: '2019-01-02T09:42:36.320Z'
Expand Down
8 changes: 4 additions & 4 deletions api/v2/datadog/docs/SecurityMonitoringSignalAttributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
---- | ---- | ----------- | ------
**Attributes** | Pointer to **map[string]interface{}** | A JSON object of attributes in the security signal. | [optional]
**Message** | Pointer to **string** | The message in the security signal defined by the rule that generated the signal. | [optional]
**Tags** | Pointer to **[]interface{}** | An array of tags associated with the security signal. | [optional]
**Tags** | Pointer to **[]string** | An array of tags associated with the security signal. | [optional]
**Timestamp** | Pointer to **time.Time** | The timestamp of the security signal. | [optional]

## Methods
Expand Down Expand Up @@ -80,20 +80,20 @@ HasMessage returns a boolean if a field has been set.

### GetTags

`func (o *SecurityMonitoringSignalAttributes) GetTags() []interface{}`
`func (o *SecurityMonitoringSignalAttributes) GetTags() []string`

GetTags returns the Tags field if non-nil, zero value otherwise.

### GetTagsOk

`func (o *SecurityMonitoringSignalAttributes) GetTagsOk() (*[]interface{}, bool)`
`func (o *SecurityMonitoringSignalAttributes) GetTagsOk() (*[]string, bool)`

GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetTags

`func (o *SecurityMonitoringSignalAttributes) SetTags(v []interface{})`
`func (o *SecurityMonitoringSignalAttributes) SetTags(v []string)`

SetTags sets Tags field to given value.

Expand Down
14 changes: 7 additions & 7 deletions api/v2/datadog/model_security_monitoring_signal_attributes.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 10 additions & 3 deletions tests/scenarios/features/v2/logs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ Feature: Logs
When the request is sent
Then the response status is 400 Bad Request

Scenario: Search logs returns "OK" response
@generated @skip
Scenario: Get a list of logs returns "OK" response
Given a valid "appKeyAuth" key in the system
And new "ListLogs" request
And body with value {"filter": {"query": "datadog-agent", "indexes": ["main"], "from": "2020-09-17T11:48:36+01:00", "to": "2020-09-17T12:48:36+01:00"}, "sort": "timestamp", "page": {"limit": 5}}
And new "ListLogsGet" request
When the request is sent
Then the response status is 200 OK

Expand All @@ -61,6 +61,13 @@ Feature: Logs
When the request is sent
Then the response status is 400 Bad Request

Scenario: Search logs returns "OK" response
Given a valid "appKeyAuth" key in the system
And new "ListLogs" request
And body with value {"filter": {"query": "datadog-agent", "indexes": ["main"], "from": "2020-09-17T11:48:36+01:00", "to": "2020-09-17T12:48:36+01:00"}, "sort": "timestamp", "page": {"limit": 5}}
When the request is sent
Then the response status is 200 OK

@integration-only
Scenario: Send deflat logs returns "Request accepted for processing (always 202 empty JSON)." response
Given new "SubmitLog" request
Expand Down

0 comments on commit 55d8fd3

Please sign in to comment.