Skip to content

Add the ability to provide a configuration for safety to ansys/actions/check-vulnerabilities #1124

@SMoraisAnsys

Description

@SMoraisAnsys

📝 Description of the feature

The main goal is to provide a way for each user to customize how safety is supposed to behave as we are doing for bandit.
However performing such change would require to use a safety policy file, e.g. .safety-policy.yml, and we might have to move to the safety scan approach first. Indeed, the policy file has evolved from version 2 to 3 and using old format is difficult due to compatibility issues (safety uses drags pydantic and typer) and using the new format requires to uses scan :/

💡 Steps for implementing the feature

First #641 must be handled

🔗 Useful links and references

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementGeneral improvements to existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions