From e7c340e65da4050559536e9a9275e0b971127e35 Mon Sep 17 00:00:00 2001 From: Yadhav Jayaraman <57544838+decyjphr@users.noreply.github.com> Date: Mon, 16 Oct 2023 20:29:49 -0400 Subject: [PATCH] bug fix --- exercises/exercise-7.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/exercise-7.md b/exercises/exercise-7.md index c56cc62..de78808 100644 --- a/exercises/exercise-7.md +++ b/exercises/exercise-7.md @@ -77,7 +77,7 @@ from string file, YamlNode accesskey, Actions::Workflow workflow, Actions::Job workflow.getFileName() = file and with.getStep() = step and with.lookup("aws-access-key-id") = accesskey - select step, "AWS_ACCESS_KEY_ID used as AWS credential instead of OIDC in Action '" + uses.getGitHubRepository() + "' in step '$@' in file " + filr, step, step.toString() + select step, "AWS_ACCESS_KEY_ID used as AWS credential instead of OIDC in Action '" + uses.getGitHubRepository() + "' in step '$@' in file " + file, step, step.toString() ``` 8. **Run** the query and you show see the results as follows: @@ -101,8 +101,8 @@ from string file, YamlNode accesskey, Actions::Workflow workflow, Actions::Job 10. **commit** and **push** your changes to the repository ``` - queries: - - uses: ./codeql-custom-queries-javascript/incorrect-aws-credentials.ql + queries: + - uses: ./codeql-custom-queries-javascript/improper-aws-credentials.ql ``` > Add image