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

GitHub pipline #25

Merged
merged 140 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
8584134
checking tests
chkp-omerma Nov 5, 2024
48138b3
checking tests
chkp-omerma Nov 5, 2024
642bf81
check tests
chkp-omerma Nov 5, 2024
dced51b
check tests
chkp-omerma Nov 6, 2024
4128427
check tests
chkp-omerma Nov 6, 2024
4bb94cb
check tests
chkp-omerma Nov 6, 2024
2eef2d7
check tests
chkp-omerma Nov 6, 2024
019670f
check tests
chkp-omerma Nov 6, 2024
77a7c3e
check tests
chkp-omerma Nov 6, 2024
8e3cfab
check tests
chkp-omerma Nov 6, 2024
83f6605
check tests
chkp-omerma Nov 7, 2024
432c316
check tests
chkp-omerma Nov 7, 2024
d45476c
check tests
chkp-omerma Nov 7, 2024
d0ea049
check tests
chkp-omerma Nov 7, 2024
907cb00
check tests
chkp-omerma Nov 7, 2024
56c0cab
check tests
chkp-omerma Nov 7, 2024
bb2c573
check tests
chkp-omerma Nov 7, 2024
6f15e13
check tests
chkp-omerma Nov 7, 2024
3f77120
check tests
chkp-omerma Nov 7, 2024
5b9bbe4
check tests
chkp-omerma Nov 7, 2024
66071d8
check tests
chkp-omerma Nov 10, 2024
e26dff1
check tests
chkp-omerma Nov 10, 2024
ee0d926
check tests
chkp-omerma Nov 10, 2024
d027bc1
check tests
chkp-omerma Nov 10, 2024
5cddcef
check tests
chkp-omerma Nov 10, 2024
bbcd99c
check tests
chkp-omerma Nov 10, 2024
b9e08dc
check tests
chkp-omerma Nov 10, 2024
f10cefe
check tests
chkp-omerma Nov 10, 2024
cdc5810
check tests
chkp-omerma Nov 10, 2024
45a11db
check tests
chkp-omerma Nov 10, 2024
df5d648
check tests
chkp-omerma Nov 10, 2024
97739ab
check tests
chkp-omerma Nov 10, 2024
32666aa
check tests
chkp-omerma Nov 12, 2024
ba933f5
check tests
chkp-omerma Nov 12, 2024
a4aadbd
check tests
chkp-omerma Nov 12, 2024
a46ac14
check tests
chkp-omerma Nov 12, 2024
74d6264
check tests
chkp-omerma Nov 13, 2024
ef8ae61
check tests
chkp-omerma Nov 13, 2024
d0b9a1f
check tests
chkp-omerma Nov 13, 2024
e02fe42
check tests
chkp-omerma Nov 13, 2024
1782024
check tests
chkp-omerma Nov 14, 2024
3277336
check tests
chkp-omerma Nov 17, 2024
972d30e
check tests
chkp-omerma Nov 17, 2024
81ae327
check tests
chkp-omerma Nov 17, 2024
1ba3ced
check tests
chkp-omerma Nov 17, 2024
b10d91c
check tests
chkp-omerma Nov 17, 2024
076e06d
check tests
chkp-omerma Nov 17, 2024
44508a5
check tests
chkp-omerma Nov 17, 2024
659ec94
check tests
chkp-omerma Nov 17, 2024
d5ba50c
check tests
chkp-omerma Nov 18, 2024
1f82c92
check tests
chkp-omerma Nov 18, 2024
c57645e
check tests
chkp-omerma Nov 18, 2024
46237e7
check tests
chkp-omerma Nov 18, 2024
527e4a0
check tests
chkp-omerma Nov 18, 2024
ea85dc5
check tests
chkp-omerma Nov 18, 2024
aa58d1e
check tests
chkp-omerma Nov 18, 2024
4d84d0f
check tests
chkp-omerma Nov 18, 2024
8b67241
check tests
chkp-omerma Nov 18, 2024
9e3a0da
check tests
chkp-omerma Nov 18, 2024
cc2f39a
check tests
chkp-omerma Nov 18, 2024
e9cb89b
check tests
chkp-omerma Nov 18, 2024
41124f2
check tests
chkp-omerma Nov 18, 2024
5afa5d0
check tests
chkp-omerma Nov 18, 2024
c3e3893
check tests
chkp-omerma Nov 18, 2024
a2d7b0e
check tests
chkp-omerma Nov 18, 2024
9f01f6a
check tests
chkp-omerma Nov 19, 2024
5eb25d0
check tests
chkp-omerma Nov 19, 2024
78e6cb5
check tests
chkp-omerma Nov 19, 2024
63f68cc
check tests
chkp-omerma Nov 19, 2024
1856c45
check tests
chkp-omerma Nov 19, 2024
4323bac
check tests
chkp-omerma Nov 19, 2024
ca192a6
check tests
chkp-omerma Nov 19, 2024
7cb899a
check tests
chkp-omerma Nov 19, 2024
fd0ceaf
check tests
chkp-omerma Nov 19, 2024
5d3f185
check tests
chkp-omerma Nov 19, 2024
9d2fb66
check tests
chkp-omerma Nov 19, 2024
4c6a89a
check tests
chkp-omerma Nov 19, 2024
06ebd75
check tests
chkp-omerma Nov 19, 2024
d07049b
check tests
chkp-omerma Nov 19, 2024
96b14b8
check tests
chkp-omerma Nov 19, 2024
b2d6484
check tests
chkp-omerma Nov 19, 2024
3d8abcb
check tests
chkp-omerma Nov 19, 2024
8c25394
check tests
chkp-omerma Nov 19, 2024
d80f7c5
check tests
chkp-omerma Nov 19, 2024
38426e5
check tests
chkp-omerma Nov 25, 2024
dcaf330
check tests
chkp-omerma Nov 25, 2024
f48c5d9
check tests
chkp-omerma Nov 25, 2024
bff7ed9
check tests
chkp-omerma Nov 25, 2024
3917d68
check tests
chkp-omerma Nov 25, 2024
4406581
check mtls test
chkp-omerma Dec 5, 2024
c2329f4
check mtls test
chkp-omerma Dec 5, 2024
2947050
check mtls test
chkp-omerma Dec 5, 2024
4f28c33
check mtls test
chkp-omerma Dec 7, 2024
338ac27
check mtls test
chkp-omerma Dec 8, 2024
a96aab2
check mtls test
chkp-omerma Dec 8, 2024
31be2fb
check mtls test
chkp-omerma Dec 8, 2024
0164df0
check mtls test
chkp-omerma Dec 8, 2024
fa86d20
check mtls test
chkp-omerma Dec 8, 2024
df37131
check mtls test
chkp-omerma Dec 8, 2024
bfcdcc2
check mtls test
chkp-omerma Dec 8, 2024
9d0337e
check mtls test
chkp-omerma Dec 8, 2024
8015e17
check mtls test
chkp-omerma Dec 8, 2024
628dfb0
check mtls test
chkp-omerma Dec 8, 2024
007c3b0
check mtls test
chkp-omerma Dec 8, 2024
dd89827
check mtls test
chkp-omerma Dec 8, 2024
ec49b6c
check mtls test
chkp-omerma Dec 8, 2024
ceb8d66
check mtls test
chkp-omerma Dec 8, 2024
0c7f90d
check tests
chkp-omerma Dec 9, 2024
9687f69
check mtls tests
chkp-omerma Dec 9, 2024
bfe3b34
check mtls tests
chkp-omerma Dec 9, 2024
9c2e371
check mtls tests
chkp-omerma Dec 9, 2024
eea7fe4
check mtls tests
chkp-omerma Dec 9, 2024
f58dd8d
check mtls tests
chkp-omerma Dec 9, 2024
7997cdc
check mtls tests
chkp-omerma Dec 9, 2024
9eeb2ab
check mtls tests
chkp-omerma Dec 9, 2024
0b97cd2
check mtls tests
chkp-omerma Dec 17, 2024
8a47b3b
check mtls tests
chkp-omerma Dec 17, 2024
7d245e0
check mtls tests
chkp-omerma Dec 19, 2024
76a5322
check mtls tests
chkp-omerma Dec 19, 2024
e4daa79
check tests
chkp-omerma Dec 29, 2024
8eda146
check tests
chkp-omerma Jan 4, 2025
06b2d7b
check tests
chkp-omerma Jan 4, 2025
065fb79
check tests
chkp-omerma Jan 4, 2025
bd039f5
check tests
chkp-omerma Jan 4, 2025
76ae2d2
check tests
chkp-omerma Jan 4, 2025
5d0f022
check tests
chkp-omerma Jan 4, 2025
e0c0087
check tests
chkp-omerma Jan 4, 2025
97a6d37
check tests
chkp-omerma Jan 5, 2025
8f2da3c
check tests
chkp-omerma Jan 5, 2025
5b7a7df
check tests
chkp-omerma Jan 5, 2025
b23536d
check tests
chkp-omerma Jan 5, 2025
81ce92c
check tests
chkp-omerma Jan 5, 2025
495eb7c
check tests
chkp-omerma Jan 5, 2025
20cb044
check tests
chkp-omerma Jan 5, 2025
a3a048f
check tests
chkp-omerma Jan 6, 2025
0046594
check tests
chkp-omerma Jan 6, 2025
c661256
check tests
chkp-omerma Jan 6, 2025
facd42f
bump to version 1.1.1
chkp-omerma Jan 7, 2025
5e5bd48
bump to version 1.1.1
chkp-omerma Jan 7, 2025
ffc86e2
bump to version 1.1.1
chkp-omerma Jan 7, 2025
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
138 changes: 69 additions & 69 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,75 +207,75 @@ jobs:
cmd/inext discard
go test --timeout 20m -v -cover ./internal/resources/tests/
cmd/inext discard
test-preprod:
name: Test PreProd
needs: build
environment:
name: PreProd
url: https://q.portal.checkpoint.com
runs-on: ubuntu-latest
timeout-minutes: 100
concurrency: acctests-${{ github.event_name }}-preprod
strategy:
max-parallel: 1
fail-fast: true
matrix:
# list whatever Terraform versions here you would like to support
terraform:
- '0.13.*'
- '0.14.*'
- '0.15.*'
- '1.0.*'
- '1.1.*'
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.18'
id: go

- uses: hashicorp/setup-terraform@v2
with:
terraform_version: ${{ matrix.terraform }}
terraform_wrapper: false

- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Get dependencies
run: |
go mod download

- name: Build CLI
run: |
cd cmd
go build -o inext -v .
- name: TF acceptance tests push
if: ${{ github.event_name == 'push' }}
timeout-minutes: 20
env:
INEXT_CLIENT_ID: ${{ secrets.INEXT_CLIENT_ID_PUSH }}
INEXT_ACCESS_KEY: ${{ secrets.INEXT_ACCESS_KEY_PUSH }}
INEXT_REGION: preprod
TF_ACC: "1"
run: |
cmd/inext discard
go test --timeout 20m -v -cover ./internal/resources/tests/
cmd/inext discard
- name: TF acceptance tests pull request
if: ${{ github.event_name == 'pull_request' }}
timeout-minutes: 20
env:
INEXT_CLIENT_ID: ${{ secrets.INEXT_CLIENT_ID_PR }}
INEXT_ACCESS_KEY: ${{ secrets.INEXT_ACCESS_KEY_PR }}
INEXT_REGION: preprod
TF_ACC: "1"
run: |
cmd/inext discard
go test --timeout 20m -v -cover ./internal/resources/tests/
cmd/inext discard
# test-preprod:
# name: Test PreProd
# needs: build
# environment:
# name: PreProd
# url: https://q.portal.checkpoint.com
# runs-on: ubuntu-latest
# timeout-minutes: 100
# concurrency: acctests-${{ github.event_name }}-preprod
# strategy:
# max-parallel: 1
# fail-fast: true
# matrix:
# # list whatever Terraform versions here you would like to support
# terraform:
# - '0.13.*'
# - '0.14.*'
# - '0.15.*'
# - '1.0.*'
# - '1.1.*'
# steps:
# - name: Set up Go
# uses: actions/setup-go@v3
# with:
# go-version: '1.18'
# id: go
#
# - uses: hashicorp/setup-terraform@v2
# with:
# terraform_version: ${{ matrix.terraform }}
# terraform_wrapper: false
#
# - name: Check out code into the Go module directory
# uses: actions/checkout@v3
#
# - name: Get dependencies
# run: |
# go mod download
#
# - name: Build CLI
# run: |
# cd cmd
# go build -o inext -v .
#
# - name: TF acceptance tests push
# if: ${{ github.event_name == 'push' }}
# timeout-minutes: 20
# env:
# INEXT_CLIENT_ID: ${{ secrets.INEXT_CLIENT_ID_PUSH }}
# INEXT_ACCESS_KEY: ${{ secrets.INEXT_ACCESS_KEY_PUSH }}
# INEXT_REGION: preprod
# TF_ACC: "1"
# run: |
# cmd/inext discard
# go test --timeout 20m -v -cover ./internal/resources/tests/
# cmd/inext discard
#
# - name: TF acceptance tests pull request
# if: ${{ github.event_name == 'pull_request' }}
# timeout-minutes: 20
# env:
# INEXT_CLIENT_ID: ${{ secrets.INEXT_CLIENT_ID_PR }}
# INEXT_ACCESS_KEY: ${{ secrets.INEXT_ACCESS_KEY_PR }}
# INEXT_REGION: preprod
# TF_ACC: "1"
# run: |
# cmd/inext discard
# go test --timeout 20m -v -cover ./internal/resources/tests/
# cmd/inext discard

# - name: TF acceptance tests schedule
# if: ${{ github.event_name == 'schedule' }}
Expand Down
9 changes: 5 additions & 4 deletions docs/resources/inext_appsec_gateway_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "inext_appsec_gateway_profile Resource - terraform-provider-infinity-next"
subcategory: ""
description: |-
CloudGuard Application Security Gateway profile is deployed as a VM that runs on a Check Point Gaia OS with a reverse proxy and Check Point Nano-Agent
CloudGuard Application Security Gateway profile is deployed as a VM that runs on a Check Point Gaia OS with a reverse proxy and Check Point Nano-Agent.
---

# inext_appsec_gateway_profile (Resource)

CloudGuard Application Security Gateway profile is deployed as a VM that runs on a Check Point Gaia OS with a reverse proxy and Check Point Nano-Agent
CloudGuard Application Security Gateway profile is deployed as a VM that runs on a Check Point Gaia OS with a reverse proxy and Check Point Nano-Agent.

## Example Usage

Expand All @@ -17,7 +17,7 @@ terraform {
required_providers {
inext = {
source = "CheckPointSW/infinity-next"
version = "1.0.3"
version = "1.1.1"
}
}
}
Expand Down Expand Up @@ -65,9 +65,10 @@ resource "inext_appsec_gateway_profile" "my-appsec-gateway-profile" {
- `reverseproxy_upstream_timeout` (Number) Sets the reverse proxy upstream timeout in seconds
- `upgrade_mode` (String) The upgrade mode of the profile: Automatic, Manual or Scheduled.
The default is Automatic
- `upgrade_time_days` (Set of Number) The days of the month of the upgrade time schedule
- `upgrade_time_duration` (Number) The duration of the upgrade in hours
- `upgrade_time_hour` (String) The hour of the upgrade time start, for example: 10:00 or 20:00
- `upgrade_time_schedule_type` (String) The schedule type in case upgrade mode is scheduled: DaysInWeek
- `upgrade_time_schedule_type` (String) The schedule type in case upgrade mode is scheduled: DaysInWeek, DaysInMonth or Daily
- `upgrade_time_week_days` (Set of String) The week days of the upgrade time schedule: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday

### Read-Only
Expand Down
4 changes: 2 additions & 2 deletions docs/resources/inext_docker_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Docker profile
terraform {
required_providers {
inext = {
version = "~> 1.0.0"
source = "checkpointsw/infinitynext"
source = "CheckPointSW/infinity-next"
version = "~>1.1.1"
}
}
}
Expand Down
7 changes: 4 additions & 3 deletions docs/resources/inext_embedded_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Embedded profile
terraform {
required_providers {
inext = {
version = "~> 1.0.0"
source = "checkpointsw/infinitynext"
source = "CheckPointSW/infinity-next"
version = "~>1.1.1"
}
}
}
Expand Down Expand Up @@ -58,9 +58,10 @@ resource "inext_embedded_profile" "my-embedded-profile" {
- `max_number_of_agents` (Number) Sets the maximum number of agents that can be connected to this profile
- `upgrade_mode` (String) The upgrade mode of the profile: Automatic, Manual or Scheduled.
The default is Automatic
- `upgrade_time_days` (Set of Number) The days of the month of the upgrade time schedule
- `upgrade_time_duration` (Number) The duration of the upgrade in hours
- `upgrade_time_hour` (String) The hour of the upgrade time start, for example: 10:00 or 20:00
- `upgrade_time_schedule_type` (String) The schedule type in case upgrade mode is scheduled: DaysInWeek
- `upgrade_time_schedule_type` (String) The schedule type in case upgrade mode is scheduled: DaysInWeek, DaysInMonth or Daily
- `upgrade_time_week_days` (Set of String) The week days of the upgrade time schedule: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday

### Read-Only
Expand Down
3 changes: 2 additions & 1 deletion docs/resources/inext_exceptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
inext = {
source = "CheckPointSW/infinity-next"
version = "1.0.3"
version = "~>1.1.1"
}
}
}
Expand Down Expand Up @@ -62,6 +62,7 @@ resource "inext_exceptions" "my-exceptions-behavior" {
### Optional

- `exception` (Block Set) Overrides AppSec ML engine decision based on match and action (see [below for nested schema](#nestedblock--exception))
- `visibility` (String) The visibility of the exception: Shared or Local

### Read-Only

Expand Down
6 changes: 3 additions & 3 deletions docs/resources/inext_kubernetes_profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Kubernetes profile
terraform {
required_providers {
inext = {
version = "~> 1.0.0"
source = "checkpointsw/infinitynext"
source = "CheckPointSW/infinity-next"
version = "~>1.1.1"
}
}
}
Expand Down Expand Up @@ -46,7 +46,7 @@ resource "inext_kubernetes_profile" "my-kubernetes-profile" {
### Required

- `name` (String) The name of the resource, also acts as its unique ID
- `profile_sub_type` (String)
- `profile_sub_type` (String) The sub type of the profile (AppSec, AccessControl, Kong, Istio)

### Optional

Expand Down
8 changes: 7 additions & 1 deletion docs/resources/inext_log_trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
inext = {
source = "CheckPointSW/infinity-next"
version = "1.0.3"
version = "~>1.1.1"
}
}
}
Expand Down Expand Up @@ -47,9 +47,11 @@ resource "inext_log_trigger" "mytrigger" {
log_to_cef = false
cef_ip_address = "10.0.0.1"
cef_port_num = 2000
cef_protocol = "TCP" # enum of ["TCP", "UDP"]
log_to_cloud = true
log_to_syslog = true
syslog_ip_address = "10.10.10.10"
syslog_protocol = "TCP" # enum of ["TCP", "UDP"]
syslog_port_num = 5004
compliance_violations = true
compliance_warnings = true
Expand All @@ -70,6 +72,9 @@ resource "inext_log_trigger" "mytrigger" {
- `access_control_drop_events` (Boolean) Log Access Control drops
- `cef_ip_address` (String)
- `cef_port` (Number)
- `cef_protocol` (String) CEF protocol: UDP or TCP
- `compliance_violations` (Boolean)
- `compliance_warnings` (Boolean)
- `extend_logging` (Boolean)
- `extend_logging_min_severity` (String) Minimum severity of events that will trigger extended logging: High or Critical
- `log_to_agent` (Boolean)
Expand All @@ -80,6 +85,7 @@ resource "inext_log_trigger" "mytrigger" {
- `response_code` (Boolean) Add response code to log if true
- `syslog_ip_address` (String)
- `syslog_port` (Number)
- `syslog_protocol` (String) Syslog protocol: UDP or TCP
- `threat_prevention_detect_events` (Boolean) Log Threat Prevention Prevents
- `threat_prevention_prevent_events` (Boolean) Log Threat Prevention Detects
- `verbosity` (String) The verbosity of the log: Standard, Minimal or Extended
Expand Down
4 changes: 3 additions & 1 deletion docs/resources/inext_trusted_sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
inext = {
source = "CheckPointSW/infinity-next"
version = "1.0.3"
version = "1.1.1"
}
}
}
Expand All @@ -30,6 +30,7 @@ provider "inext" {

resource "inext_trusted_sources" "my-trusted-source-behavior" {
name = "some name"
visibility = "Shared"
min_num_of_sources = 1
sources_identifiers = ["identifier1", "identifier2"]
}
Expand All @@ -46,6 +47,7 @@ resource "inext_trusted_sources" "my-trusted-source-behavior" {
### Optional

- `sources_identifiers` (Set of String) The trusted sources identifier values
- `visibility` (String) The visibility of the resource - Shared or Local

### Read-Only

Expand Down
Loading
Loading