darkmsph1t / _spartan

npm project to package & configure common security middleware && add security.js file to code repo
5 stars 0 forks source link

Add -s and -L options in the command line for short/long policy questions #35

Closed darkmsph1t closed 6 years ago

darkmsph1t commented 6 years ago

Is your feature request related to a problem? Please describe. Currently the questionnaire is really long. Like really long. Developers aren't likely to spend time creating a security policy if it is too lengthy. However there may be those that want to take a more fine-grained approach to defining their security policy

Describe the solution you'd like Provide options in the command line to do short or long policy definition. The default _spartan init will point users to the short questionnaire the first time, however if they run _spartan init -L will run the long version of the questionnaire. Likewise, if a user wants to update their existing policy, they can run _spartan -u -L to update an existing policy using the long questionnaire

Why does this feature belong in _spartan? Policy definition is the cornerstone of what makes _spartan work. This contributes to product completeness.

Describe alternatives you've considered N/a

Additional context Add any other context or screenshots about the feature request here.

darkmsph1t commented 6 years ago

done image