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

release -> develop merge (230731) #117

Merged
merged 32 commits into from
Jul 31, 2023
Merged

release -> develop merge (230731) #117

merged 32 commits into from
Jul 31, 2023

Conversation

ktkfree
Copy link
Contributor

@ktkfree ktkfree commented Jul 31, 2023

No description provided.

ktkfree and others added 30 commits June 26, 2023 18:20
release branch merge ( 20230626 )
feature. add combindedFilter to pagination
app-serving: add preprocessing for extraEnv param
feature. implementation filter on pagination.
�improvement: apply html contents on email body
feature. re-architecutring pod-restart calendar on dashboard.
bugfix: (app-serving) handle request that doesn't include extraEnv param
bugfix. change organization paramter for deleting appgroup
feature. add workflow paramter for supporting s3.
bugfix. add workflow parameter for deleing appgroup

pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit)))
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&alerts)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).

pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit)))
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&appGroups)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).

pg.TotalPages = int(math.Ceil(float64(pg.TotalRows) / float64(pg.Limit)))
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&apps)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).
Preload(clause.Associations).Find(&cloudAccounts, "organization_id = ? AND status != ?", organizationId, domain.CloudAccountStatus_DELETED)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&cloudAccounts)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).

orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).
Preload(clause.Associations).Find(&clusters)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&clusters)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).
Preload(clause.Associations).Order("updated_at desc, created_at desc").
Find(&clusters, "organization_id = ? AND status != ?", organizationId, domain.ClusterStatus_DELETED)

res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&clusters)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1). This query depends on a [user-provided value](2).
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&organizations)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&organizations)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).
orQuery = orQuery + fmt.Sprintf("LOWER(%s.%s::text) like LOWER('%%%s%%') OR ", table, column, combinedFilter.Value)
}
orQuery = orQuery[:len(orQuery)-3]
db = db.Where(orQuery)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1). This query depends on a [user-provided value](2). This query depends on a [user-provided value](3). This query depends on a [user-provided value](4). This query depends on a [user-provided value](5). This query depends on a [user-provided value](6). This query depends on a [user-provided value](7). This query depends on a [user-provided value](8).
orderQuery := fmt.Sprintf("%s %s", pg.SortColumn, pg.SortOrder)
res := r.db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).
Preload(clause.Associations).Find(&stackTemplates)
res := db.Offset(pg.GetOffset()).Limit(pg.GetLimit()).Order(orderQuery).Find(&stackTemplates)

Check failure

Code scanning / CodeQL

Database query built from user-controlled sources

This query depends on a [user-provided value](1).
Copy link
Member

@Siyeop Siyeop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Siyeop Siyeop merged commit a34e577 into develop Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants