Skip to content

Commit 584c20e

Browse files
committed
Add @aikidosec/firewall manually to list of packages (on start)
1 parent 1c0bf1b commit 584c20e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/agent/Agent.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,10 @@ export class Agent {
484484
}
485485
}
486486

487+
// When our library is required, we are not intercepting `require` calls yet
488+
// We need to add our library to the list of packages manually
489+
this.onPackageRequired("@aikido/firewall", getAgentVersion());
490+
487491
wrapInstalledPackages(wrappers, this.serverless);
488492

489493
// Send startup event and wait for config

0 commit comments

Comments
 (0)