Skip to content

Cannot override cli inspection severity for inspection not model related #167

Closed Answered by simonbrowndotje
geemorin asked this question in Q&A
Discussion options

You must be logged in to vote

From the docs:

The severity of model related violations can also be changed by properties at the model or workspace level, and view related violations can be changed by properties at the viewset or workspace level

I think you just need to move the workspace property to the workspace level, and the view property to the view level:

workspace {

    properties {
        structurizr.inspection.workspace.* warning
    }

    model {

    }

    views {
        properties {
            structurizr.inspection.views.* warning
        }
    }

}

Alternatively you can move everything to the workspace level. If that doesn't work, please provide a full DSL example.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by simonbrowndotje
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #166 on December 17, 2024 19:50.