Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add audit filter and update the default AuditCleanInterval #6166

Merged
merged 9 commits into from
Dec 21, 2023

refactor code,use GetOrgID to get orgID in request header

b4c7c9d
Select commit
Loading
Failed to load commit list.
Merged

fix: add audit filter and update the default AuditCleanInterval #6166

refactor code,use GetOrgID to get orgID in request header
b4c7c9d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Dec 21, 2023 in 1s

48.61% of diff hit (target 22.84%)

View this Pull Request on Codecov

48.61% of diff hit (target 22.84%)

Annotations

Check warning on line 398 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L398

Added line #L398 was not covered by tests

Check warning on line 401 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L400-L401

Added lines #L400 - L401 were not covered by tests

Check warning on line 404 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L404

Added line #L404 was not covered by tests

Check warning on line 407 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L406-L407

Added lines #L406 - L407 were not covered by tests

Check warning on line 412 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L411-L412

Added lines #L411 - L412 were not covered by tests

Check warning on line 417 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L417

Added line #L417 was not covered by tests

Check warning on line 421 in apistructs/audits.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

apistructs/audits.go#L421

Added line #L421 was not covered by tests

Check warning on line 38 in internal/core/legacy/common/ctxhelper/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/common/ctxhelper/audit.go#L33-L38

Added lines #L33 - L38 were not covered by tests

Check warning on line 109 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L108-L109

Added lines #L108 - L109 were not covered by tests

Check warning on line 114 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L111-L114

Added lines #L111 - L114 were not covered by tests

Check warning on line 119 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L119

Added line #L119 was not covered by tests

Check warning on line 124 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L124

Added line #L124 was not covered by tests

Check warning on line 142 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L142

Added line #L142 was not covered by tests

Check warning on line 189 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L189

Added line #L189 was not covered by tests

Check warning on line 194 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L191-L194

Added lines #L191 - L194 were not covered by tests

Check warning on line 199 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L199

Added line #L199 was not covered by tests

Check warning on line 203 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L203

Added line #L203 was not covered by tests

Check warning on line 221 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L221

Added line #L221 was not covered by tests

Check warning on line 333 in internal/core/legacy/endpoints/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/endpoints/audit.go#L333

Added line #L333 was not covered by tests

Check warning on line 127 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L126-L127

Added lines #L126 - L127 were not covered by tests

Check warning on line 143 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L130-L143

Added lines #L130 - L143 were not covered by tests

Check warning on line 145 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L145

Added line #L145 was not covered by tests

Check warning on line 152 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L149-L152

Added lines #L149 - L152 were not covered by tests

Check warning on line 155 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L155

Added line #L155 was not covered by tests

Check warning on line 162 in internal/core/legacy/services/audit/audit.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/core/legacy/services/audit/audit.go#L162

Added line #L162 was not covered by tests