Skip to content

Commit

Permalink
Merge pull request #547 from armosec/fixx1
Browse files Browse the repository at this point in the history
add orderBy parameter to get_workflows default body
  • Loading branch information
kooomix authored Dec 31, 2024
2 parents 15eb4d5 + 9cc47d1 commit ce7e4d3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion infrastructure/backend_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2999,7 +2999,11 @@ def generate_seccomp_profile(self, body: dict):
def get_workflows(self, body=None, **kwargs):
url = API_WORKFLOWS + "/list"
if body is None:
body = {"pageSize": 150, "pageNum": 1}
body = {
"pageSize": 150,
"pageNum": 1,
"orderBy": "updatedTime:desc"
}

params = {"customerGUID": self.selected_tenant_id}
if kwargs:
Expand Down

0 comments on commit ce7e4d3

Please sign in to comment.