From 655c539ca02fea51b1bec1d59e50f4e2152d8c80 Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Fri, 18 Feb 2022 14:53:17 -0500 Subject: [PATCH 1/5] New change --- XSS/XSS_level3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XSS/XSS_level3.php b/XSS/XSS_level3.php index da7fe77..44e2dfc 100644 --- a/XSS/XSS_level3.php +++ b/XSS/XSS_level3.php @@ -23,6 +23,6 @@ if (isset($_GET["username"])) { } ?> - + From 75241f3436ba58cc90354a98a39abd37765d01d3 Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Fri, 18 Feb 2022 15:14:50 -0500 Subject: [PATCH 2/5] New change --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..1f8c3ef --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,23 @@ +on: + # Trigger analysis when pushing in master or pull requests, and when creating + # a pull request. + push: + branches: + - master + pull_request: + types: [opened, synchronize, reopened] + +name: Main Workflow +jobs: + sonarqube: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + # Disabling shallow clone is recommended for improving relevancy of reporting + fetch-depth: 0 + - name: SonarQube Scan + uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} \ No newline at end of file From fc386c6da789020b10b25df64b47c9caa931070e Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Fri, 18 Feb 2022 15:27:46 -0500 Subject: [PATCH 3/5] New change --- .github/workflows/build.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f8c3ef..b94f697 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,23 +1,26 @@ +name: Build on: - # Trigger analysis when pushing in master or pull requests, and when creating - # a pull request. push: branches: - - master - pull_request: - types: [opened, synchronize, reopened] + - master # or the name of your main branch + pull_request: + types: [opened, synchronize, reopened] -name: Main Workflow jobs: - sonarqube: + build: + name: Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: - # Disabling shallow clone is recommended for improving relevancy of reporting fetch-depth: 0 - - name: SonarQube Scan - uses: sonarsource/sonarqube-scan-action@master + - uses: sonarsource/sonarqube-scan-action@master env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} \ No newline at end of file + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} + # If you wish to fail your job when the Quality Gate is red, uncomment the + # following lines. This would typically be used to fail a deployment. + - uses: sonarsource/sonarqube-quality-gate-action@master + timeout-minutes: 5 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file From 08a76b699214a13444831bd3391a466892d04d29 Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Fri, 18 Feb 2022 15:28:08 -0500 Subject: [PATCH 4/5] New change --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 915fc82..52d35d4 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1 +1 @@ -sonar.projectKey=VulnWebApp \ No newline at end of file +sonar.projectKey=VulnAppStatusCheck \ No newline at end of file From 5594e1a1df6ecc75cf9a459b3fca9d6ee0c5a2ac Mon Sep 17 00:00:00 2001 From: shobikaramasubbarayalu Date: Fri, 18 Feb 2022 15:29:26 -0500 Subject: [PATCH 5/5] New change --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b94f697..ef9be23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,3 @@ -name: Build on: push: branches: