-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from simonec73/dev
Dev 2.2.4
- Loading branch information
Showing
112 changed files
with
5,073 additions
and
759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/Extensions/ThreatsManager.AIAssistant/ExtensionsContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using ThreatsManager.Interfaces; | ||
|
||
[assembly: ExtensionsContainer("2.2.3")] | ||
[assembly: ExtensionsContainer("2.2.4")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/Extensions/ThreatsManager.AutoGenRules/ExtensionsContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using ThreatsManager.Interfaces; | ||
|
||
[assembly: ExtensionsContainer("2.2.3")] | ||
[assembly: ExtensionsContainer("2.2.4")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/Extensions/ThreatsManager.AutoThreatGeneration/ExtensionsContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using ThreatsManager.Interfaces; | ||
|
||
[assembly: ExtensionsContainer("2.2.3")] | ||
[assembly: ExtensionsContainer("2.2.4")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/Extensions/ThreatsManager.DevOps/ExtensionsContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using ThreatsManager.Interfaces; | ||
|
||
[assembly: ExtensionsContainer("2.2.3")] | ||
[assembly: ExtensionsContainer("2.2.4")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Sources/Extensions/ThreatsManager.Extensions/ExtensionsContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
using ThreatsManager.Interfaces; | ||
|
||
[assembly: ExtensionsContainer("2.2.3")] | ||
[assembly: ExtensionsContainer("2.2.4")] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Sources/Extensions/ThreatsManager.ImportersExporters/Direction.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace ThreatsManager.ImportersExporters | ||
{ | ||
public enum Direction | ||
{ | ||
Import, | ||
Export | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
Sources/Extensions/ThreatsManager.ImportersExporters/Exporters/Excel/ColumnSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace ThreatsManager.ImportersExporters.Exporters.Excel | ||
{ | ||
[JsonObject(MemberSerialization.OptIn)] | ||
public class ColumnSettings | ||
{ | ||
[JsonProperty("index")] | ||
public int Index { get; set; } | ||
|
||
[JsonProperty("label")] | ||
public string Label { get; set; } | ||
|
||
[JsonProperty("width")] | ||
public float Width { get; set; } | ||
|
||
[JsonProperty("fieldType")] | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public FieldType FieldType { get; set; } | ||
|
||
[JsonProperty("schemaName")] | ||
public string SchemaName { get; set; } | ||
|
||
[JsonProperty("schemaNs")] | ||
public string SchemaNamespace { get; set; } | ||
|
||
[JsonProperty("propertyName")] | ||
public string PropertyName { get; set; } | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
Sources/Extensions/ThreatsManager.ImportersExporters/Exporters/Excel/ExportSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace ThreatsManager.ImportersExporters.Exporters.Excel | ||
{ | ||
[JsonObject(MemberSerialization.OptIn)] | ||
public class ExportSettings | ||
{ | ||
/// <summary> | ||
/// Direction of the operation. | ||
/// </summary> | ||
/// <remarks>For export must be Export.</remarks> | ||
[JsonProperty("direction")] | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public Direction Direction { get; set; } | ||
|
||
/// <summary> | ||
/// Version of the format. | ||
/// </summary> | ||
/// <remarks>It is checked by the exporter. If is not correct, the export fails.</remarks> | ||
[JsonProperty("version")] | ||
public int Version { get; set; } | ||
|
||
/// <summary> | ||
/// Configuration of the sheets that must be exported. | ||
/// </summary> | ||
[JsonProperty("sheets")] | ||
public List<SheetSettings> Sheets { get; set; } | ||
} | ||
} |
Oops, something went wrong.