Skip to content

Commit 00603d5

Browse files
Merge pull request #23 from JDragovichAlertLogic/npm
add list formatting to API doc
2 parents 6617f80 + 1f66e0c commit 00603d5

File tree

2 files changed

+12
-16
lines changed

2 files changed

+12
-16
lines changed

README.md

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To install:
1616

1717
in your file
1818
```javascript
19-
{
19+
const {
2020
AlAwsCollector,
2121
} = require('@alertlogic/al-aws-collect-js');
2222
```
@@ -26,16 +26,16 @@ in your file
2626
## `AlAwsCollector`
2727
Base class for AWS lambda based collectors
2828

29-
@param {Object} context - context of Lambda's function.
30-
@param {string} collectorType - collector type (cwe as example).
31-
@param {string} ingestType - ingest data type (secmsgs, vpcflow, etc).
32-
@param {string} version - version of collector.
33-
@param {Object} aimsCreds - Alert Logic API credentials.
34-
@param {string} [aimsCreds.access_key_id] - Alert Logic API access key id.
35-
@param {string} [aimsCreds.secret_key] - Alert Logic API secret key.
36-
@param {function} formatFun - callback formatting function
37-
@param {Array.<function>} healthCheckFuns - list of custom health check functions (can be just empty, so only common are applied)
38-
@param {Array.<function>} statsFuns - list of custom stats functions (can be just empty, so only common are applied)
29+
* @param {Object} context - context of Lambdas function.
30+
* @param {string} collectorType - collector type (cwe as example).
31+
* @param {string} ingestType - ingest data type (secmsgs, vpcflow, etc).
32+
* @param {string} version - version of collector.
33+
* @param {Object} aimsCreds - Alert Logic API credentials.
34+
* @param {string} [aimsCreds.access_key_id] - Alert Logic API access key id.
35+
* @param {string} [aimsCreds.secret_key] - Alert Logic API secret key.
36+
* @param {function} formatFun - callback formatting function
37+
* @param {Array.<function>} healthCheckFuns - list of custom health check functions (can be just empty, so only common are applied)
38+
* @param {Array.<function>} statsFuns - list of custom stats functions (can be just empty, so only common are applied)
3939

4040
# Debugging
4141

@@ -55,10 +55,6 @@ value "index" or "*".
5555

5656
See [debug](https://www.npmjs.com/package/debug) for further details.
5757

58-
# Known Issues/ Open Questions
59-
60-
- TBD.
61-
6258
# Useful Links
6359

6460
- [Node.js static code analysis tool](http://jshint.com/install/)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alertlogic/al-aws-collector-js",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"license": "MIT",
55
"description": "Alert Logic AWS Collector Common Library",
66
"repository": {

0 commit comments

Comments
 (0)