fase(6): fuzzing module complete
This commit is contained in:
14
dist/modules/fuzzing/domain/events/FuzzCompleted.js
vendored
Normal file
14
dist/modules/fuzzing/domain/events/FuzzCompleted.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FuzzCompleted = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FuzzCompleted {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'fuzz.completed';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FuzzCompleted = FuzzCompleted;
|
||||
14
dist/modules/fuzzing/domain/events/FuzzStarted.js
vendored
Normal file
14
dist/modules/fuzzing/domain/events/FuzzStarted.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FuzzStarted = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FuzzStarted {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'fuzz.started';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FuzzStarted = FuzzStarted;
|
||||
14
dist/modules/fuzzing/domain/events/VulnerabilityDetected.js
vendored
Normal file
14
dist/modules/fuzzing/domain/events/VulnerabilityDetected.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.VulnerabilityDetected = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class VulnerabilityDetected {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'fuzz.vulnerability_detected';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.VulnerabilityDetected = VulnerabilityDetected;
|
||||
Reference in New Issue
Block a user