Skip to content

feat: add the ability to run workflow on alert state change

Codecov / codecov/patch failed Feb 7, 2024 in 0s

6.97% of diff hit (target 54.56%)

View this Pull Request on Codecov

6.97% of diff hit (target 54.56%)

Annotations

Check warning on line 789 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L788-L789

Added lines #L788 - L789 were not covered by tests

Check warning on line 798 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L797-L798

Added lines #L797 - L798 were not covered by tests

Check warning on line 801 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L801

Added line #L801 was not covered by tests

Check warning on line 1018 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1018

Added line #L1018 was not covered by tests

Check warning on line 1028 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1028

Added line #L1028 was not covered by tests

Check warning on line 1030 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1030

Added line #L1030 was not covered by tests

Check warning on line 1034 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1034

Added line #L1034 was not covered by tests

Check warning on line 1037 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1037

Added line #L1037 was not covered by tests

Check warning on line 1062 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1062

Added line #L1062 was not covered by tests

Check warning on line 1065 in keep/api/core/db.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/api/core/db.py#L1065

Added line #L1065 was not covered by tests

Check warning on line 183 in keep/rulesengine/rulesengine.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/rulesengine/rulesengine.py#L181-L183

Added lines #L181 - L183 were not covered by tests

Check warning on line 186 in keep/rulesengine/rulesengine.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/rulesengine/rulesengine.py#L185-L186

Added lines #L185 - L186 were not covered by tests

Check warning on line 188 in keep/rulesengine/rulesengine.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/rulesengine/rulesengine.py#L188

Added line #L188 was not covered by tests

Check warning on line 137 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L136-L137

Added lines #L136 - L137 were not covered by tests

Check warning on line 140 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L139-L140

Added lines #L139 - L140 were not covered by tests

Check warning on line 147 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L142-L147

Added lines #L142 - L147 were not covered by tests

Check warning on line 149 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L149

Added line #L149 was not covered by tests

Check warning on line 152 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 158 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L157-L158

Added lines #L157 - L158 were not covered by tests

Check warning on line 161 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L160-L161

Added lines #L160 - L161 were not covered by tests

Check warning on line 170 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L169-L170

Added lines #L169 - L170 were not covered by tests

Check warning on line 173 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L172-L173

Added lines #L172 - L173 were not covered by tests

Check warning on line 175 in keep/workflowmanager/workflowmanager.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

keep/workflowmanager/workflowmanager.py#L175

Added line #L175 was not covered by tests