Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION ?= v1.1.1
VERSION ?= v1.2.0
10 changes: 8 additions & 2 deletions .github/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
## What's Changed

## \[1.1.1\] \- 2025-09-26
## \[1.2.0\] \- 2026-03-06

### Added

* Added property to `cicdmaxissues` in `ruleoverrides` config, allowing a maximum number of issues to be permitted per rule in CI/CD mode. This enables gradual remediation of existing issues by setting a threshold that can be reduced over time. Exceeding the threshold exits with a non-zero code and prints a violation summary to stderr.
* When running `--list-rules`, each rule now displays its `CicdMaxIssues` value. Rules without a `cicdmaxissues` override show a default value of `0`.
* Added `cicdmaxissues` support to `customregexrules`, allowing custom rules to define their own CI/CD issue threshold directly in their rule definition.

### Fixed

* Fixed `-V` flag not able to display version for go package.
* Enhanced the regex to be case-insensitive and to support `.` in repository names, enabling correct extraction of the repository name from SSH URLs in baseline scan.

### [Full Changelog](https://github.com/certinia/asist/blob/main/changelog.md)
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

---

## \[Unreleased\]
## \[1.2.0\] \- 2026-03-06

### Added

Expand Down
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,4 +700,4 @@ func TestGetRuleCicdMaxIssues_WhenCustomRuleParsedFromJSON_ReturnsValue(t *testi
if actualResult != 5 {
t.Errorf("Expected 5 from JSON custom rule cicdmaxissues, got %d", actualResult)
}
}
}
2 changes: 1 addition & 1 deletion integrationtests/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,4 +864,4 @@ func TestMaxIssues_WhenExceedsThreshold_HasViolation(t *testing.T) {
if !strings.Contains(violationOutput, "2 issues (max allowed: 1)") {
t.Errorf("Expected '2 issues (max allowed: 1)' in output, got: %s", violationOutput)
}
}
}
Loading