Skip to content

Add Ability to Specify Solution location via parameter to createSolutionV3.ps1 #11731

@dragosinc-sentinel

Description

@dragosinc-sentinel

Is your feature request related to a problem? Please describe.
The Sentinel Solution build process is frustrating in that it requires lots of manual commands to be run and its difficult to script. The current Tools\Create-Azure-Sentinel-Solution\V3\createSolutionV3.ps1 reads the Solution you want to read via stdin, which makes it difficult to script.

Describe the solution you'd like
I'd like Tools\Create-Azure-Sentinel-Solution\V3\createSolutionV3.ps1 to be modified to allow me to pass in the Solution path via the command line as demonstrated below. The parameter should be optional so that it will fall back to reading via stdin if the parameter is not provided. For example, I'd like to run the script as follows:

Tools\Create-Azure-Sentinel-Solution\V3\createSolutionV3.ps1 -SolutionPath C:\code\Azure-Sentinel\Solutions\Dragos\Data

Describe alternatives you've considered
As it stands today, if I want to script the createSolutionV3.ps1 I need to figure a complex stdin redirection which is more complicated than it needs to be.

Additional context
Please make this relatively simply quality of life improvement.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions