diff --git a/.github/workflows/make-github-and-docker-release.yml b/.github/workflows/make-github-and-docker-release.yml index 6f0f3ee1..46dadf4f 100644 --- a/.github/workflows/make-github-and-docker-release.yml +++ b/.github/workflows/make-github-and-docker-release.yml @@ -42,7 +42,7 @@ jobs: with: context: . push: true - tags: ghcr.io/ibm/nca:${{ env.version }} + tags: ghcr.io/np-guard/nca:${{ env.version }} - name: Build and push ubi-based Docker image uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 @@ -50,7 +50,7 @@ jobs: context: . file: Dockerfile.ubi push: true - tags: ghcr.io/ibm/nca:${{ env.version }}-ubi + tags: ghcr.io/np-guard/nca:${{ env.version }}-ubi - name: Create and push a new git tag run: | diff --git a/.github/workflows/test-push.yml b/.github/workflows/test-push.yml index 90a34116..6301e3da 100644 --- a/.github/workflows/test-push.yml +++ b/.github/workflows/test-push.yml @@ -182,6 +182,6 @@ jobs: path: nca_build - run: | pip install nca_build/network_config_analyzer-*.tar.gz - nca --connectivity -r https://github.com/IBM/network-config-analyzer/blob/master/tests/livesim_tests/livesim_topology.yaml + nca --connectivity -r https://github.com/np-guard/network-config-analyzer/blob/master/tests/livesim_tests/livesim_topology.yaml env: GHE_TOKEN: ${{ github.token }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5afcc2a4..daaeec3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,21 +2,21 @@ Our project welcomes external contributions. If you have an itch, please feel free to scratch it. -To contribute code or documentation, please submit a [pull request](https://github.com/IBM/network-config-analyzer/pulls). +To contribute code or documentation, please submit a [pull request](https://github.com/np-guard/network-config-analyzer/pulls). A good way to familiarize yourself with the codebase and contribution process is -to look for and tackle low-hanging fruit in the [issue tracker](https://github.com/ibm/network-config-analyzer/issues). +to look for and tackle low-hanging fruit in the [issue tracker](https://github.com/np-guard/network-config-analyzer/issues). ### Proposing new features -If you would like to implement a new feature, please [raise an issue](https://github.com/ibm/network-config-analyzer/issues) +If you would like to implement a new feature, please [raise an issue](https://github.com/np-guard/network-config-analyzer/issues) before sending a pull request so the feature can be discussed. This is to avoid you wasting your valuable time working on a feature that the project developers are not interested in accepting into the code base. ### Fixing bugs -If you would like to fix a bug, please [raise an issue](https://github.com/ibm/network-config-analyzer/issues) before sending a +If you would like to fix a bug, please [raise an issue](https://github.com/np-guard/network-config-analyzer/issues) before sending a pull request, so it can be tracked. ### Merge approval @@ -69,7 +69,7 @@ Please feel free to email each one of the [maintainers](MAINTAINERS.md). To set up a development environment follow the instructions below. ### Linux ```shell -git clone git@github.com:IBM/network-config-analyzer.git +git clone git@github.com:np-guard/network-config-analyzer.git cd network-config-analyzer python3 -m venv venv source venv/bin/activate @@ -78,7 +78,7 @@ pip3 install -r requirements.txt ### Windows (using [Git bash](https://git-scm.com/downloads)) ```shell -git clone git@github.com:IBM/network-config-analyzer.git +git clone git@github.com:np-guard/network-config-analyzer.git cd network-config-analyzer python -m venv venv source venv/Scripts/activate diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 94e37204..8d0e1d10 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -3,4 +3,5 @@ * Adi Sosnovich - adisos@il.ibm.com * Ziv Nevo - nevo@il.ibm.com * Shireen Falah - shireenf@il.ibm.com -* Shai Doron - dshai@il.ibm.com +* Tatyana Veksler - tatyana@il.ibm.com +* Haim Kermany - haimke@il.ibm.com diff --git a/README.md b/README.md index f12bad26..9b49bd83 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Network Config Analyzer (NCA) -[![.github/workflows/test-push.yml](https://github.com/IBM/network-config-analyzer/actions/workflows/test-push.yml/badge.svg)](https://github.com/IBM/network-config-analyzer/actions/workflows/test-push.yml) -[![.github/workflows/codeql-analysis.yml](https://github.com/IBM/network-config-analyzer/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/IBM/network-config-analyzer/actions/workflows/codeql-analysis.yml) +[![.github/workflows/test-push.yml](https://github.com/np-guard/network-config-analyzer/actions/workflows/test-push.yml/badge.svg)](https://github.com/np-guard/network-config-analyzer/actions/workflows/test-push.yml) +[![.github/workflows/codeql-analysis.yml](https://github.com/np-guard/network-config-analyzer/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/np-guard/network-config-analyzer/actions/workflows/codeql-analysis.yml) [![OpenSSF -Scorecard](https://api.securityscorecards.dev/projects/github.com/IBM/network-config-analyzer/badge)](https://api.securityscorecards.dev/projects/github.com/IBM/network-config-analyzer) +Scorecard](https://api.securityscorecards.dev/projects/github.com/np-guard/network-config-analyzer/badge)](https://api.securityscorecards.dev/projects/github.com/np-guard/network-config-analyzer) --- ## What is NCA? NCA is a tool for analyzing Network Policies and other connectivity-configuration resources. @@ -176,7 +176,7 @@ If you would like to see the detailed LICENSE click [here](LICENSE). # ``` -[issues]: https://github.com/IBM/network-config-analyzer/issues/new/choose -[Docker package]: https://github.com/IBM/network-config-analyzer/pkgs/container/nca +[issues]: https://github.com/np-guard/network-config-analyzer/issues/new/choose +[Docker package]: https://github.com/np-guard/network-config-analyzer/pkgs/container/nca [NCA GitHub Action]: https://github.com/np-guard/netpol-reports-gh-action -[NCA Tekton Tasks]: https://github.com/IBM/network-config-analyzer/tree/master/tekton +[NCA Tekton Tasks]: https://github.com/np-guard/network-config-analyzer/tree/master/tekton diff --git a/setup.cfg b/setup.cfg index 51a7a773..c1ee371f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,9 +6,9 @@ author_email = nevo@il.ibm.com description = An analyzer for Network Policies and other connectivity-configuration resources long_description = file: README.md long_description_content_type = text/markdown -url = https://github.com/IBM/network-config-analyzer +url = https://github.com/np-guard/network-config-analyzer project_urls = - Bug Tracker = https://github.com/IBM/network-config-analyzer/issues + Bug Tracker = https://github.com/np-guard/network-config-analyzer/issues NP-Guard Home = https://np-guard.github.io classifiers = Programming Language :: Python :: 3 diff --git a/tekton/README.md b/tekton/README.md index a7bdbb6a..e4a88439 100644 --- a/tekton/README.md +++ b/tekton/README.md @@ -27,7 +27,7 @@ An example connectivity report (in md format): ### Install the Task ``` -kubectl apply -f https://raw.githubusercontent.com/IBM/network-config-analyzer/master/tekton/netpol-report-task.yaml +kubectl apply -f https://raw.githubusercontent.com/np-guard/network-config-analyzer/master/tekton/netpol-report-task.yaml ``` ### Parameters @@ -82,7 +82,7 @@ An example diff output (in md format): ### Install the Task ``` -kubectl apply -f https://raw.githubusercontent.com/IBM/network-config-analyzer/master/tekton/netpol-diff-task.yaml +kubectl apply -f https://raw.githubusercontent.com/np-guard/network-config-analyzer/master/tekton/netpol-diff-task.yaml ``` ### Parameters diff --git a/tests/istio_testcases/example_policies/test-istio-scheme-files-options/scheme-test-np-from-git-repo.yaml b/tests/istio_testcases/example_policies/test-istio-scheme-files-options/scheme-test-np-from-git-repo.yaml index 70a08a5d..62b1cdb0 100644 --- a/tests/istio_testcases/example_policies/test-istio-scheme-files-options/scheme-test-np-from-git-repo.yaml +++ b/tests/istio_testcases/example_policies/test-istio-scheme-files-options/scheme-test-np-from-git-repo.yaml @@ -5,8 +5,8 @@ podList: ../../example_podlist/bookinfo_pods_list.json networkConfigList: - name: istio-test-git-repo-files networkPolicyList: - - https://github.com/IBM/network-config-analyzer/blob/master/tests/fw_rules_tests/policies/istio-allow-all-policy.yaml - - https://github.com/IBM/network-config-analyzer/blob/master/tests/fw_rules_tests/policies/istio-allow-nothing-policy.yaml + - https://github.com/np-guard/network-config-analyzer/blob/master/tests/fw_rules_tests/policies/istio-allow-all-policy.yaml + - https://github.com/np-guard/network-config-analyzer/blob/master/tests/fw_rules_tests/policies/istio-allow-nothing-policy.yaml queries: - name: connectivity-istio-test diff --git a/tests/k8s_cmdline_tests.yaml b/tests/k8s_cmdline_tests.yaml index b74d0f2c..346fad87 100644 --- a/tests/k8s_cmdline_tests.yaml +++ b/tests/k8s_cmdline_tests.yaml @@ -209,8 +209,8 @@ - name: git_resources args: > --sanity k8s_testcases/example_policies/all-captured-tests/some-captured-tests-networkpolicy.yaml - --ns_list https://github.com/IBM/network-config-analyzer/tree/master/tests/example_workload_resources/ - --pod_list https://github.com/IBM/network-config-analyzer/tree/master/tests/example_workload_resources/ + --ns_list https://github.com/np-guard/network-config-analyzer/tree/master/tests/example_workload_resources/ + --pod_list https://github.com/np-guard/network-config-analyzer/tree/master/tests/example_workload_resources/ expected: 0 - name: return_0 diff --git a/tests/k8s_testcases/example_policies/typoNotInTests/typoNotInTests-scheme.yaml b/tests/k8s_testcases/example_policies/typoNotInTests/typoNotInTests-scheme.yaml index 00d03037..781f672d 100644 --- a/tests/k8s_testcases/example_policies/typoNotInTests/typoNotInTests-scheme.yaml +++ b/tests/k8s_testcases/example_policies/typoNotInTests/typoNotInTests-scheme.yaml @@ -9,12 +9,12 @@ networkConfigList: - name: np1_from_ghe networkPolicyList: - - https://github.com/IBM/network-config-analyzer/tree/master/tests/k8s_testcases/example_policies/typoNotInTests + - https://github.com/np-guard/network-config-analyzer/tree/master/tests/k8s_testcases/example_policies/typoNotInTests expectedWarnings: 1 - name: np2_from_ghe networkPolicyList: - - https://github.com/IBM/network-config-analyzer/tree/master/tests/k8s_testcases/example_policies + - https://github.com/np-guard/network-config-analyzer/tree/master/tests/k8s_testcases/example_policies expectedWarnings: 0 queries: diff --git a/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-scheme.yaml b/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-scheme.yaml index 80495e50..cdca7980 100644 --- a/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-scheme.yaml +++ b/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-scheme.yaml @@ -34,12 +34,12 @@ networkConfigList: - name: np5_from_ghe networkPolicyList: - - https://github.com/IBM/network-config-analyzer/blob/master/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-networkpolicy5.yaml + - https://github.com/np-guard/network-config-analyzer/blob/master/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-networkpolicy5.yaml expectedWarnings: 0 - name: np5_from_raw_ghe networkPolicyList: - - https://raw.githubusercontent.com/IBM/network-config-analyzer/master/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-networkpolicy5.yaml + - https://raw.githubusercontent.com/np-guard/network-config-analyzer/master/tests/k8s_testcases/example_policies/withIpBlock2/withIpBlock2-networkpolicy5.yaml expectedWarnings: 0 - name: np5-ipv6 diff --git a/tests/k8s_testcases/example_policies/workload-resources-test/git-resource-test-scheme.yaml b/tests/k8s_testcases/example_policies/workload-resources-test/git-resource-test-scheme.yaml index eca07cd3..14b205dd 100644 --- a/tests/k8s_testcases/example_policies/workload-resources-test/git-resource-test-scheme.yaml +++ b/tests/k8s_testcases/example_policies/workload-resources-test/git-resource-test-scheme.yaml @@ -1,5 +1,5 @@ -namespaceList: https://github.com/IBM/network-config-analyzer/tree/master/tests/example_workload_resources/ -podList: https://github.com/IBM/network-config-analyzer/tree/master/tests/example_workload_resources/ +namespaceList: https://github.com/np-guard/network-config-analyzer/tree/master/tests/example_workload_resources/ +podList: https://github.com/np-guard/network-config-analyzer/tree/master/tests/example_workload_resources/ networkConfigList: - name: workload_resources_captured