files.com 1.2.133 → 1.2.135
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
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.135
|
@@ -8,6 +8,7 @@
|
|
8
8
|
"remote_ip": "example",
|
9
9
|
"server_ip": "example",
|
10
10
|
"username": "example",
|
11
|
+
"ssh_client_identification": "example",
|
11
12
|
"session_uuid": "example",
|
12
13
|
"seq_id": 1,
|
13
14
|
"auth_method": "example",
|
@@ -31,6 +32,7 @@
|
|
31
32
|
* `remote_ip` (string): IP Address of SFTP Client
|
32
33
|
* `server_ip` (string): IP Address of SFTP Server
|
33
34
|
* `username` (string): Username
|
35
|
+
* `ssh_client_identification` (string): Name of the SFTP Client provided at initial connection
|
34
36
|
* `session_uuid` (string): Unique ID of the Session
|
35
37
|
* `seq_id` (int64): SFTP Sequence ID
|
36
38
|
* `auth_method` (string): Authentication Method
|
@@ -112,7 +112,7 @@
|
|
112
112
|
|
113
113
|
---
|
114
114
|
|
115
|
-
## List
|
115
|
+
## List SIEM HTTP Destinations
|
116
116
|
|
117
117
|
```
|
118
118
|
await SiemHttpDestination.list
|
@@ -126,7 +126,7 @@ await SiemHttpDestination.list
|
|
126
126
|
|
127
127
|
---
|
128
128
|
|
129
|
-
## Show
|
129
|
+
## Show SIEM HTTP Destination
|
130
130
|
|
131
131
|
```
|
132
132
|
await SiemHttpDestination.find(id)
|
@@ -139,7 +139,7 @@ await SiemHttpDestination.find(id)
|
|
139
139
|
|
140
140
|
---
|
141
141
|
|
142
|
-
## Create
|
142
|
+
## Create SIEM HTTP Destination
|
143
143
|
|
144
144
|
```
|
145
145
|
await SiemHttpDestination.create({
|
@@ -200,7 +200,7 @@ await SiemHttpDestination.create({
|
|
200
200
|
|
201
201
|
---
|
202
202
|
|
203
|
-
## send_test_entry
|
203
|
+
## send_test_entry SIEM HTTP Destination
|
204
204
|
|
205
205
|
```
|
206
206
|
await SiemHttpDestination.sendTestEntry({
|
@@ -263,7 +263,7 @@ await SiemHttpDestination.sendTestEntry({
|
|
263
263
|
|
264
264
|
---
|
265
265
|
|
266
|
-
## Update
|
266
|
+
## Update SIEM HTTP Destination
|
267
267
|
|
268
268
|
```
|
269
269
|
const siem_http_destination = await SiemHttpDestination.find(id)
|
@@ -382,7 +382,7 @@ await siem_http_destination.update({
|
|
382
382
|
|
383
383
|
---
|
384
384
|
|
385
|
-
## Delete
|
385
|
+
## Delete SIEM HTTP Destination
|
386
386
|
|
387
387
|
```
|
388
388
|
const siem_http_destination = await SiemHttpDestination.find(id)
|
package/lib/Files.js
CHANGED
@@ -11,7 +11,7 @@ var endpointPrefix = '/api/rest/v1';
|
|
11
11
|
var apiKey;
|
12
12
|
var baseUrl = 'https://app.files.com';
|
13
13
|
var sessionId = null;
|
14
|
-
var version = '1.2.
|
14
|
+
var version = '1.2.135';
|
15
15
|
var userAgent = "Files.com JavaScript SDK v".concat(version);
|
16
16
|
var logLevel = _Logger.LogLevel.INFO;
|
17
17
|
var debugRequest = false;
|
@@ -49,6 +49,10 @@ var SftpActionLog = /*#__PURE__*/(0, _createClass2.default)(function SftpActionL
|
|
49
49
|
(0, _defineProperty2.default)(this, "getUsername", function () {
|
50
50
|
return _this.attributes.username;
|
51
51
|
});
|
52
|
+
// string # Name of the SFTP Client provided at initial connection
|
53
|
+
(0, _defineProperty2.default)(this, "getSshClientIdentification", function () {
|
54
|
+
return _this.attributes.ssh_client_identification;
|
55
|
+
});
|
52
56
|
// string # Unique ID of the Session
|
53
57
|
(0, _defineProperty2.default)(this, "getSessionUuid", function () {
|
54
58
|
return _this.attributes.session_uuid;
|
package/package.json
CHANGED
package/src/Files.js
CHANGED
@@ -40,6 +40,9 @@ class SftpActionLog {
|
|
40
40
|
// string # Username
|
41
41
|
getUsername = () => this.attributes.username
|
42
42
|
|
43
|
+
// string # Name of the SFTP Client provided at initial connection
|
44
|
+
getSshClientIdentification = () => this.attributes.ssh_client_identification
|
45
|
+
|
43
46
|
// string # Unique ID of the Session
|
44
47
|
getSessionUuid = () => this.attributes.session_uuid
|
45
48
|
|