Skip to content

Commit 08d4bba

Browse files
vinodkumar-sacumennathanmadamsburaizu
authored
[AI-5181] CloudGen Firewall Integration PR (DataDog#20344)
* CloudGen Firewall NO Assets PR * CloudGen Firewall NO Assets PR * CloudGen Firewall NO Assets PR * CloudGen Firewall NO Assets PR * added CloudGen Firewall assets * added CloudGen Firewall assets * added CloudGen Firewall assets * added CloudGen Firewall assets * added CloudGen Firewall assets * added CloudGen Firewall assets * added CloudGen Firewall assets * updated mapper names and app_id * reverted app_id * updated metric id * created integration with type --logs * added metadata path in manifest * added metadata for manifest * added conf file via ddev cmd with -s * removed metadata * added description for facets * fixed bot suggested issue * metadata.csv as it is not required * renamed integration id mentioned in PI checks * updated facets with unique paths * resolved tests CI checks * removed unwanted comments and preserversource:false * udpated with all logs of the pipeline * updated tests * updated tests * updated tests for proper indentation * updated test * added tests * facet issues * Added test cases * updated PR * test case updated * updated test * updated test * Readme Updated as per Doc stds * reverted conf file changeds * added nested pipelines * addressed review comments on README * added test cases * added test cases * replaced tests * added tests * tests updated * added single test case * test cases initial * updated test cases * new test cases added * test cases * test cases for test * added tests for testing * added tests source * renamed test file * changed source for evente * changed source * changed source for all types * source changed * added tests * added test cases * added test cases * added test cases * fixed CI errors * renamed filter query * updated preserveSource * added samples * edited suggested results * indented * indented * added new tests * added new tests * updated order of test samples * removed unused parsers * updated root source * updated root source * added service * removed services * removed firewall service * added test file * updated sample * indented test cases * added service in the test file * added event logs * added all samples for test cases * refined GROK Parsers * added bypass checks * rearragnged pipelines for test cases * replaced with suggested file * added test new file * added firewall activity resiults * added test results * updated dashboard * updated dashboard with sizes * added images * added image details in manifest * updated title * updated dashboard * Update source_type_id Updating the source_type_id to match a previous attempt to create this integration * updated banner link * added new screenshots * update nested pipeline for Auth Type only * added test results * addressed comments * addressed comments * reverted conf yanl * added test results * updated source in conf yaml * updated facet names * update service key in sshd * updated dashboard queries * Fixed additional comments on readme * updated readme for new lines * Remove redundant word * updated pipelines for subcomponent * updated test cases * added remappers for facets * added test cases * added remapped for factes * added test results * updated pipeline fields to be same and updated dashboard * addded test results --------- Co-authored-by: Nathan Adams <nathan.adams@datadoghq.com> Co-authored-by: Bryce Eadie <bryce.eadie@datadoghq.com>
1 parent 38fb8bd commit 08d4bba

17 files changed

Lines changed: 7547 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,11 @@ plaid/assets/logs/ @DataDog/saa
605605
/dnsfilter/manifest.json @DataDog/saas-integrations @DataDog/documentation
606606
/dnsfilter/assets/logs/ @DataDog/saas-integrations @DataDog/documentation @DataDog/logs-integrations-reviewers
607607

608+
/cloudgen_firewall/ @DataDog/agent-integrations
609+
/cloudgen_firewall/*.md @DataDog/agent-integrations @DataDog/documentation
610+
/cloudgen_firewall/manifest.json @DataDog/agent-integrations @DataDog/documentation
611+
/cloudgen_firewall/assets/logs/ @DataDog/agent-integrations @DataDog/documentation @DataDog/logs-backend @DataDog/logs-core
612+
608613
/workato/ @DataDog/saas-integrations
609614
/workato/*.md @DataDog/saas-integrations @DataDog/documentation
610615
/workato/manifest.json @DataDog/saas-integrations @DataDog/documentation

.github/workflows/config/labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ integration/zerofox_cloud_platform:
775775
- zerofox_cloud_platform/**/*
776776
integration/zk:
777777
- zk/**/*
778+
integration/cloudgen_firewall:
779+
- cloudgen_firewall/**/*
778780
qa/skip-qa:
779781
- '**/__about__.py'
780782
- requirements-agent-release.txt

cloudgen_firewall/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# CHANGELOG - cloudgen_firewall
2+
3+
<!-- towncrier release notes start -->
4+

cloudgen_firewall/README.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Agent Integration: cloudgen_firewall
2+
3+
## Overview
4+
5+
Barracuda CloudGen Firewall is a next-generation firewall (NGFW) family from Barracuda Networks designed to protect and optimize modern, distributed networks whether on-premises, in the cloud, or across hybrid environments. This integration monitors [cloudgen_firewall][1].
6+
7+
## Setup
8+
1. Collecting logs is disabled by default in the Datadog Agent. Enable it in the `datadog.yaml` file with:
9+
10+
```yaml
11+
logs_enabled: true
12+
```
13+
14+
2. Add this configuration block to your `cloudgen_firewall.d/conf.yaml` file to start collecting your cloudgen_firewall logs:
15+
16+
```yaml
17+
logs:
18+
- type: file
19+
path: /var/log/cloudgen_firewall.log
20+
source: cloudgen_firewall
21+
service: <SERVICE_NAME>
22+
```
23+
24+
Change the `path` and `service` parameter values for your environment.
25+
26+
3. [Restart the Agent][4].
27+
28+
### Installation
29+
30+
The cloudgen_firewall check is included in the [Datadog Agent][2] package.
31+
32+
### Prerequisites
33+
34+
1. Administrative access to Barracuda CloudGen Firewall installed on your server.
35+
2. The Datadog Agent installed and running (on a server or container that can receive syslog messages).
36+
3. Network Access between the firewall and the Datadog Agent (usually port 514, but may be a custom value).
37+
4. Syslog support enabled in the Datadog Agent (with a TCP or UDP listener configured).
38+
39+
### Validation
40+
41+
1. Confirm the Datadog Agent is listening on the correct port (`514` in the following examples):
42+
43+
`sudo netstat -tunlp | grep 514`
44+
45+
If using TCP and UDP listeners, use the following command:
46+
47+
`sudo lsof -i :514`
48+
49+
2. Confirm logs are reaching the Agent from the correct log source:
50+
51+
`tail -f /var/log/datadog/syslog.log`
52+
53+
**Note**: If the file doesn't exist, verify that syslog logs are being written by your configuration.
54+
55+
3. Use the tcpdump command to confirm network traffic on the Datadog Agent host:
56+
57+
`sudo tcpdump -i any port 514`
58+
59+
After running this command, you should see traffic from the CloudGen Firewall IP address. If you don't see any such traffic, check the firewall rules between CloudGen and the Datadog Agent. Confirm the correct protocol (UDP or TCP) is being used on both sides.
60+
4. Check the Datadog [Live Tail][7] for logs from the source and service you defined in the `conf.yaml` file.
61+
5. After following these steps, you can create a test log on the firewall by triggering an event.
62+
6. Check for tags or facets to use for better filtering based on the required data.
63+
64+
## Data collected
65+
66+
### Metrics
67+
68+
The Barracuda CloudGen Firewall integration does not include any metrics.
69+
70+
### Logs
71+
72+
The Barracuda CloudGen Firewall logs contain key information such as the event timestamp, source and destination IPs and ports, protocol used, firewall action (allow or deny), the matched rule name, user identity (if available), log type (such as firewall, VPN, authentication), network interface, device name, status of the operation, and many more. This helps you to monitor traffic behavior, access control, and system activity.
73+
74+
75+
### Events
76+
77+
The cloudgen_firewall integration does not include any events.
78+
79+
## Troubleshooting
80+
81+
Need help? Contact [Datadog support][3].
82+
83+
[1]: https://www.barracuda.com/products/network-protection/cloudgen-firewall
84+
[2]: /account/settings/agent/latest
85+
[3]: https://docs.datadoghq.com/help/
86+
[4]: https://docs.datadoghq.com/agent/guide/agent-commands/#start-stop-and-restart-the-agent
87+
[5]: /integrations?search=barracuda_cloudgen_firewall
88+
[6]: https://github.com/DataDog/integrations-core/blob/master/cloudgen_firewall/assets/service_checks.json
89+
[7]: /logs/livetail
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: cloudgen_firewall
2+
files:
3+
- name: cloudgen_firewall.yaml
4+
options:
5+
- template: logs
6+
example:
7+
- type: file
8+
path: /var/log/cloudgen_firewall.log
9+
source: barracuda_cloudgen_logs

0 commit comments

Comments
 (0)