Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update notebooks with settings file #99

Closed
wants to merge 2 commits into from

Conversation

mehrinkiani
Copy link
Member

This PR updates notebooks with (optional) ModelScan settings file.

  • To create a configurable settings file use: modelscan create-settings-file (creates a modelscan-settings.toml file in current directory).

  • The location and name of a settings file can also be specified with modelscan create-settings-file -l ../path-to/settings-file.toml

Configurations:

  • A settings file would allow enabling/disabling particular scans such as H5LambdaDetectScan, and PickleUnsafeOpScan.

  • A settings file can also be configured to set particular severity level (CRITICAL, HIGH, MEDIUM, or LOW) for unsafe operators.

  • Reporting format for ModelScan results can also be specified in a settings file.

@mehrinkiani mehrinkiani self-assigned this Feb 6, 2024
@mehrinkiani mehrinkiani marked this pull request as draft March 13, 2024 16:51
@iamfaisalkhan
Copy link
Member

Adding settings to notebooks should be straightforward. The closed but unmerged PR can be referenced for guidance on how to generate a settings file and incorporate it within a notebook

@iamfaisalkhan iamfaisalkhan deleted the update-notebooks-settingsfile branch September 6, 2024 16:49
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.

2 participants