Skip to content

Commit

Permalink
Fix imports after renaming attack-prefix-ids.js to model-names.js
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Sep 28, 2023
1 parent 9292fc6 commit 3bbc51a
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/models/campaign-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixCampaign = {
// STIX campaign specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/collection-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const workspaceDefinitions = require('./subschemas/workspace');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const xMitreContent = {
object_ref: { type: String, required: true },
Expand Down
2 changes: 1 addition & 1 deletion app/models/data-component-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixDataComponent = {
// STIX x-mitre-data-component specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/data-source-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixDataSource = {
// STIX x-mitre-data-source specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/group-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixIntrusionSet = {
// STIX intrusion-set specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/matrix-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const matrixProperties = {
// x-mitre-matrix specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/note-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const noteProperties = {
// note specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/software-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixMalware = {
// STIX malware and tool specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/tactic-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

const stixTactic = {
// STIX x-mitre-tactic specific properties
Expand Down
2 changes: 1 addition & 1 deletion app/models/technique-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const mongoose = require('mongoose');
const AttackObject = require('./attack-object-model');
const attackPatternDefinitions = require('./subschemas/attack-pattern');
const { ModelName } = require('../lib/attack-prefix-ids');
const { ModelName } = require('../lib/model-names');

// Create the definition
const techniqueDefinition = {
Expand Down

0 comments on commit 3bbc51a

Please sign in to comment.