Skip to content

Commit e1e25ce

Browse files
Merge pull request #6119 from devtron-labs/global-security-filter-fix-oss
security filter fix
2 parents c48678d + c94e324 commit e1e25ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/sql/repository/security/ImageScanDeployInfoRepository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ func (impl ImageScanDeployInfoRepositoryImpl) scanListQueryWithObject(request *s
237237
query = query + ` INNER JOIN environment env on env.id=info.env_id
238238
INNER JOIN cluster c on c.id=env.cluster_id
239239
WHERE info.scan_object_meta_id > 0 and env.active=true and info.image_scan_execution_history_id[1] != -1
240-
AND a.app_name like '%" + request.AppName + "%' `
240+
AND a.app_name like '%` + request.AppName + `%' `
241241

242242
if len(deployInfoIds) > 0 {
243243
query += " AND info.id IN (?) "

0 commit comments

Comments
 (0)