How to use suppressions within the YML file #286
-
|
Hello all, I don't want to raise a bug as I believe I'm doing something wrong and was looking for some guidance on how I can implement what I want. Looking through the readme and previous issues raised I can see the following issue - #234 I'm currently hitting the same predicament where I'm not sure what my config file should look like. Flow: flow-scanner.yml: Expected Output: No errors found. Any help or direction at all, I would really appreciate! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
@aidandunne1892 Thank you for the detailed input and for pointing out the outdated issue and comments. The correct format for defining exceptions(a separate section in the .flow-scanner.yml) is described in the Define Exceptions chapter of the README documentation. Based on your example, this would translate to: exceptions:
Add_Error_Log_for_Get_Accounts:
missing-fault-path:
- "Save_Get_Accounts_Error_Log"Our README only demonstrates the JSON notation, while we typically recommend using the yaml notation with the same data model: Please let us know if there’s anything we can do to improve the documentation or make it clearer. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @RubenHalman, apologies I've been away. I've just tested out what you mentioned above and it works exactly how I was hoping it would!! Thank you very much!! |
Beta Was this translation helpful? Give feedback.

@aidandunne1892 Thank you for the detailed input and for pointing out the outdated issue and comments. The correct format for defining exceptions(a separate section in the .flow-scanner.yml) is described in the Define Exceptions chapter of the README documentation. Based on your example, this would translate to:
Our README only demonstrates the JSON notation, while we typically recommend using the yaml notation with the same data model:
Please let us know if there’s anything we can do to improve the documentation or make…