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

Changes to reflect repo move #40

Merged
merged 5 commits into from
Jun 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/make-github-and-docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ 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
with:
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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tekton/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/k8s_cmdline_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down