files.com 1.2.238 → 1.2.240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/docs/models/RemoteServer.md +236 -226
- package/docs/models/SettingsChange.md +5 -5
- package/docs/models/SiemHttpDestination.md +12 -0
- package/lib/Files.js +1 -1
- package/lib/models/RemoteServer.js +511 -469
- package/lib/models/SettingsChange.js +7 -7
- package/lib/models/SiemHttpDestination.js +17 -0
- package/package.json +1 -1
- package/src/Files.js +1 -1
- package/src/models/RemoteServer.js +466 -432
- package/src/models/SettingsChange.js +6 -6
- package/src/models/SiemHttpDestination.js +17 -0
|
@@ -28,25 +28,25 @@ class SettingsChange {
|
|
|
28
28
|
|
|
29
29
|
isLoaded = () => !!this.attributes.id
|
|
30
30
|
|
|
31
|
+
// int64 # The API key id responsible for this change.
|
|
32
|
+
getApiKeyId = () => this.attributes.api_key_id
|
|
33
|
+
|
|
31
34
|
// array(string) # Markdown-formatted change messages.
|
|
32
35
|
getChanges = () => this.attributes.changes
|
|
33
36
|
|
|
34
|
-
// date-time # The time this change was made
|
|
37
|
+
// date-time # The time this change was made.
|
|
35
38
|
getCreatedAt = () => this.attributes.created_at
|
|
36
39
|
|
|
37
|
-
// int64 # The user id responsible for this change
|
|
40
|
+
// int64 # The user id responsible for this change.
|
|
38
41
|
getUserId = () => this.attributes.user_id
|
|
39
42
|
|
|
40
|
-
// int64 # The API key id responsible for this change
|
|
41
|
-
getApiKeyId = () => this.attributes.api_key_id
|
|
42
|
-
|
|
43
43
|
// boolean # true if this change was performed by Files.com support.
|
|
44
44
|
getUserIsFilesSupport = () => this.attributes.user_is_files_support
|
|
45
45
|
|
|
46
46
|
// boolean # true if this change was performed by a user on a parent site.
|
|
47
47
|
getUserIsFromParentSite = () => this.attributes.user_is_from_parent_site
|
|
48
48
|
|
|
49
|
-
// string # The username of the user responsible for this change
|
|
49
|
+
// string # The username of the user responsible for this change.
|
|
50
50
|
getUsername = () => this.attributes.username
|
|
51
51
|
|
|
52
52
|
// Parameters:
|
|
@@ -294,6 +294,20 @@ class SiemHttpDestination {
|
|
|
294
294
|
this.attributes.exavault_api_request_entries_sent = value
|
|
295
295
|
}
|
|
296
296
|
|
|
297
|
+
// boolean # Whether or not sending is enabled for settings_change logs.
|
|
298
|
+
getSettingsChangeSendEnabled = () => this.attributes.settings_change_send_enabled
|
|
299
|
+
|
|
300
|
+
setSettingsChangeSendEnabled = value => {
|
|
301
|
+
this.attributes.settings_change_send_enabled = value
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// int64 # Number of log entries sent for the lifetime of this destination.
|
|
305
|
+
getSettingsChangeEntriesSent = () => this.attributes.settings_change_entries_sent
|
|
306
|
+
|
|
307
|
+
setSettingsChangeEntriesSent = value => {
|
|
308
|
+
this.attributes.settings_change_entries_sent = value
|
|
309
|
+
}
|
|
310
|
+
|
|
297
311
|
// string # Type of URL that was last called. Can be `destination_url` or `azure_oauth_client_credentials_url`
|
|
298
312
|
getLastHttpCallTargetType = () => this.attributes.last_http_call_target_type
|
|
299
313
|
|
|
@@ -425,6 +439,7 @@ class SiemHttpDestination {
|
|
|
425
439
|
// public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
|
|
426
440
|
// email_send_enabled - boolean - Whether or not sending is enabled for email logs.
|
|
427
441
|
// exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
|
|
442
|
+
// settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
428
443
|
// destination_type - string - Destination Type
|
|
429
444
|
// destination_url - string - Destination Url
|
|
430
445
|
update = async (params = {}) => {
|
|
@@ -625,6 +640,7 @@ class SiemHttpDestination {
|
|
|
625
640
|
// public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
|
|
626
641
|
// email_send_enabled - boolean - Whether or not sending is enabled for email logs.
|
|
627
642
|
// exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
|
|
643
|
+
// settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
628
644
|
// destination_type (required) - string - Destination Type
|
|
629
645
|
// destination_url (required) - string - Destination Url
|
|
630
646
|
static create = async (params = {}, options = {}) => {
|
|
@@ -730,6 +746,7 @@ class SiemHttpDestination {
|
|
|
730
746
|
// public_hosting_request_send_enabled - boolean - Whether or not sending is enabled for public_hosting_request logs.
|
|
731
747
|
// email_send_enabled - boolean - Whether or not sending is enabled for email logs.
|
|
732
748
|
// exavault_api_request_send_enabled - boolean - Whether or not sending is enabled for exavault_api_request logs.
|
|
749
|
+
// settings_change_send_enabled - boolean - Whether or not sending is enabled for settings_change logs.
|
|
733
750
|
static sendTestEntry = async (params = {}, options = {}) => {
|
|
734
751
|
if (params.siem_http_destination_id && !isInt(params.siem_http_destination_id)) {
|
|
735
752
|
throw new errors.InvalidParameterError(`Bad parameter: siem_http_destination_id must be of type Int, received ${getType(params.siem_http_destination_id)}`)
|