Skip to content

Conversation

raghushantha
Copy link
Member

No description provided.

juneb and others added 30 commits November 6, 2015 14:15
Edited WriteHost rule strings.
Updated Engine to use AddCommand to prevent Script Based injection attacks
Initial commit for ScriptDefinition
First draft of cmdlet help file
* Renames CustomizedRulePath parameter to CustomRulePath.
* Adds CustromizedRulePath as an alias of CustomRulePath.
* Adds RecurseCustomRulePath switch to recursively retrieve custom rules.
* Fixes a bug: CustomRulePath can now accept paths with a trailing
backslash.
* CustomRulePath parameter now takes only one string, instead of an array
of strings.
We have set the CustomRulePath parameter in the cmdlet implementation in LibraryUsage.tests.ps1 to "string[]" type whereas in the c# implementation it is of "string" type. If we set the CustomRulePath parameter here to "string", then the library usage test fails when run as an administrator. We want to note that the library usage test doesn't fail when run as a non-admin user. Even if we create a "[string[]]" type object and pass it to Initialize method,  the tests fail to run as an admin with the following error message.

Assert failed on "Initialize" with "7" argument(s): "Test failed due to terminating error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
…Backslash

Renames CustomizedRulePath parameter and modifies its behavior.
Bug Fixes when using Recurse functionality. Fix to Binplace cmdlet help file
Give profile alias configuration and provide some sample configurations
Quoc Truong and others added 22 commits December 2, 2015 15:05
…Profiles

Throw error instead of warning for profiles
Exclude Default RuleSet when using with CustomRule feature
Enforce that pscredential attribute must come before credentialattribute
Improve post-build command, fix spelling mistakes.
Add ability to supply collection of custom rule paths
Add Ability to run Default Rules along with Custom in the same invocation
Allow scriptanalyzer to accept configuration in the form of a hashtable
@raghushantha
Copy link
Member Author

Merging based on clean CI run

raghushantha added a commit that referenced this pull request Dec 16, 2015
@raghushantha raghushantha merged commit 4c3466c into master Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants