@appland/scanner 1.59.2 → 1.60.0
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/CHANGELOG.md +7 -0
- package/built/check.js +2 -0
- package/built/checkInstance.js +3 -0
- package/built/ruleChecker.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@appland/scanner-v1.60.0](https://github.com/applandinc/appmap-js/compare/@appland/scanner-v1.59.2...@appland/scanner-v1.60.0) (2022-06-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* pass down impactDomain from Rule to Finding ([8755041](https://github.com/applandinc/appmap-js/commit/875504183a8517fec316b5f188d269de053ceef8))
|
|
7
|
+
|
|
1
8
|
# [@appland/scanner-v1.59.2](https://github.com/applandinc/appmap-js/compare/@appland/scanner-v1.59.1...@appland/scanner-v1.59.2) (2022-06-29)
|
|
2
9
|
|
|
3
10
|
|
package/built/check.js
CHANGED
|
@@ -14,6 +14,8 @@ class Check {
|
|
|
14
14
|
this.excludeScope = [];
|
|
15
15
|
this.includeEvent = [];
|
|
16
16
|
this.excludeEvent = [];
|
|
17
|
+
//TODO: Create Default value for impact domain
|
|
18
|
+
this.impactDomain = rule.impactDomain;
|
|
17
19
|
}
|
|
18
20
|
filterScope(event, appMapIndex) {
|
|
19
21
|
if (this.includeScope.length > 0 && !this.includeScope.every((fn) => fn(event, appMapIndex))) {
|
package/built/checkInstance.js
CHANGED
package/built/ruleChecker.js
CHANGED
|
@@ -137,6 +137,7 @@ class RuleChecker {
|
|
|
137
137
|
groupMessage,
|
|
138
138
|
occurranceCount,
|
|
139
139
|
relatedEvents: relatedEvents.sort((event) => event.id),
|
|
140
|
+
impactDomain: checkInstance.checkImpactDomain,
|
|
140
141
|
};
|
|
141
142
|
};
|
|
142
143
|
const matchResult = yield checkInstance.ruleLogic.matcher(event, appMapIndex, checkInstance.filterEvent.bind(checkInstance));
|