MSkidmore454594 (Community Member) asked a question.

Can the FilePathCleanser attribute be used on two or more different functions/methods?

I have two methods, ValidateFileName(...) and ValidateDirectory(...) both of which, I have annotated with the FilePathCleanser attribute. I'm noticing that ValidateDirectory is not reporting "Proposed" in Triage Flaws. Can the same attribute be used on two or more functions/methods?


  • Hello @MSkidmore454594 (Community Member)​ ,

     

    Thank you for reaching out to the Community.

     

    Yes, you can annotate multiple functions. It's likely the specific case/implementation that does not fully remediate/mitigate the issue.

     

    You can find information about Custom Cleaners at this link. https://help.veracode.com/r/customcleansers.

     

    If the information we’ve provided you has helped resolve your challenge (or answered your question), we would appreciate it if you could mark the response that was helpful with “Select as Best”. This will help other Community members who come across your question as a similar challenge they might be facing and your best answer will help them find the right solution as well.

     

    Best regards,

    Steven

    Veracode Support Engineer

     

    Expand Post

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.