From nobody Sun Sep 25 05:47:31 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MZvzm31cgz4dKMj; Sun, 25 Sep 2022 05:47:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZvzm2SCbz3DSF; Sun, 25 Sep 2022 05:47:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664084852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jLwFdbzaMI2aGI7r9a/f6gOAGCdE0WBdu/9ZFfI1464=; b=oofTOCJtnKGItKxMjFTQBABwWvXEuQSW5K8HsDw4TkNolc8/NgfSA4T9pNlhQ0upSaU8Qo NXsVbysqMENncREm+gsFFKjHGzfkyLJJ8Wp1wxsfqFP4RfQPQa+AnknbrqWvpliMqZ5qG1 cklZDnYxfHfUh6IUAKO1L3Q1cIZxQmP79FLnLDthPn9zXZBLjSZuniY3qZ+mdHF/IRvFAE klJIT3cdDwr4v5GTw+r8YdrBUrRPRd+bngLH7bNx2fKNT3xKTDcoGkn5/LYKcoNBX0UIJl LN9xJTvqIQKMe+UToC2Xvt3UhVw5rCy7L5jl48GnCAmqD6QpuY+KHlkZBv8F8A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MZvzm1P5bzKV0; Sun, 25 Sep 2022 05:47:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28P5lWjJ024471; Sun, 25 Sep 2022 05:47:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28P5lVY5024470; Sun, 25 Sep 2022 05:47:31 GMT (envelope-from git) Date: Sun, 25 Sep 2022 05:47:31 GMT Message-Id: <202209250547.28P5lVY5024470@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: ad9a3f9582d3 - main - security/wazuh-dashboard: New port: Web user interface for data visualization and analysis List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ad9a3f9582d33fea0eed2708768464333cf2e97e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664084852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jLwFdbzaMI2aGI7r9a/f6gOAGCdE0WBdu/9ZFfI1464=; b=IegK4nsWPj9G9NcVgouEpU287aVybAHkKgR7fRVij+6bypzgQUh53qkmHxH75sxpEuk0e+ z/GfnuAbr1p3tstEQO7k1XCg1haZmVnkF/0BOoeHawYKkm8ZCKngzeHbgnzLczx6H/D18J 1ZCaN/y51jo55H1JrvzCMa6V73xgJX5rxQzSRMfvs7m6RbWsrURBtzEPDfabSxFYqhudg3 wEANYXgNinyuo/JWv53kV7QkCjpEW6d2jutVQlEIdlWbqEfs7b9kTgvDUZ9xtV2BX80LR0 cBM70DOlijX2qve66mM5PgOAg+T5eU1tiPVsCN8wrYDr2GxyH5CLXkjMGzmFnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664084852; a=rsa-sha256; cv=none; b=mvanQI3TgOcqXTmflfD0bvFIX39X2Xh3HSRkwTMuRpEj3JSSKHR8eIsve6fk1PbwQxkGLJ yE3tB2O+P5oFobDwLRyEJlVYT1vnUWmRvKRxzWhJgjh4/BYyaKBDXoOpDkofHiYMwUfpVl 6u/J/yrMJ7OmFlZylYod/97FX0PLjbXa6J3kHL+AyKPeGk62Uv1sEpHlEUu2yQW4w+d6Ho NlczUlJRy9l3F5pbQJCrMaDpd5XXlp4yO1PqyLYaAMBIbIDuWxFSxhyugUbUm4vEd17aJF 4DnOgkfNtXDyxcJvpYcozUEWM7DxXL1X9PfJF3Ylsh7Y/ertUq+SgkOJQQIvOw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad9a3f9582d33fea0eed2708768464333cf2e97e commit ad9a3f9582d33fea0eed2708768464333cf2e97e Author: Jose Alonso Cardenas Marquez AuthorDate: 2022-09-25 05:45:55 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2022-09-25 05:45:55 +0000 security/wazuh-dashboard: New port: Web user interface for data visualization and analysis Wazuh is a free and open source platform used for threat prevention, detection, and response. It is capable of protecting workloads across on-premises, virtualized, containerized, and cloud-based environments. Wazuh solution consists of an endpoint security agent, deployed to the monitored systems, and a management server, which collects and analyzes data gathered by the agents. Besides, Wazuh has been fully integrated with the Elastic Stack, providing a search engine and data visualization tool that allows users to navigate through their security alerts. --- security/Makefile | 1 + security/wazuh-dashboard/Makefile | 39 + security/wazuh-dashboard/distinfo | 5 + security/wazuh-dashboard/files/pkg-message.in | 46 + security/wazuh-dashboard/pkg-descr | 9 + security/wazuh-dashboard/pkg-plist | 7346 +++++++++++++++++++++++++ 6 files changed, 7446 insertions(+) diff --git a/security/Makefile b/security/Makefile index ae14e7767812..6570949932aa 100644 --- a/security/Makefile +++ b/security/Makefile @@ -1277,6 +1277,7 @@ SUBDIR += vxquery SUBDIR += wapiti SUBDIR += wazuh-agent + SUBDIR += wazuh-dashboard SUBDIR += wazuh-indexer SUBDIR += wazuh-manager SUBDIR += wazuh-server diff --git a/security/wazuh-dashboard/Makefile b/security/wazuh-dashboard/Makefile new file mode 100644 index 000000000000..1bccdb129d19 --- /dev/null +++ b/security/wazuh-dashboard/Makefile @@ -0,0 +1,39 @@ +PORTNAME= wazuh +DISTVERSIONPREFIX= v +DISTVERSION= 4.3.8 +CATEGORIES= security +MASTER_SITES= LOCAL/acm/${PORTNAME}/ +PKGNAMESUFFIX= -dashboard +DISTFILES= ${PORTNAME}-kibana-app-${DISTVERSION}${EXTRACT_SUFX} \ + opensearch_dashboards.yml +DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} + +MAINTAINER= acm@FreeBSD.org +COMMENT= Web user interface for data visualization and analysis +WWW= https://github.com/wazuh/wazuh-kibana-app + +LICENSE= GPLv2 + +RUN_DEPENDS= ${LOCALBASE}/www/opensearch-dashboards/bin/opensearch-dashboards:textproc/opensearch-dashboard + +NO_BUILD= yes + +SUB_FILES= pkg-message + +ETCDIR= ${PREFIX}/etc/wazuh-dashboard +WRKSRC= ${WRKDIR}/${PORTNAME}-kibana-app-${DISTVERSION} + +do-extract: + @${MKDIR} ${WRKSRC} + @cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/${PORTNAME}-kibana-app-${DISTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS} + ${CP} ${_DISTDIR}/opensearch_dashboards.yml ${WRKDIR} + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/www/opensearch-dashboards/plugins/wazuh + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/wazuh-dashboard + + @${INSTALL_DATA} ${WRKDIR}/opensearch_dashboards.yml ${STAGEDIR}${PREFIX}/etc/wazuh-dashboard + (cd ${WRKSRC} && ${COPYTREE_SHARE} . \ + ${STAGEDIR}/${PREFIX}/www/opensearch-dashboards/plugins/wazuh) + +.include diff --git a/security/wazuh-dashboard/distinfo b/security/wazuh-dashboard/distinfo new file mode 100644 index 000000000000..eb51c4c896ae --- /dev/null +++ b/security/wazuh-dashboard/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1664010133 +SHA256 (wazuh-4.3.8/wazuh-kibana-app-4.3.8.tar.gz) = b901b84dc6360db3be7fee649aea9ba6ead1deab762d84f7ba1085cbfb3ecb84 +SIZE (wazuh-4.3.8/wazuh-kibana-app-4.3.8.tar.gz) = 28832008 +SHA256 (wazuh-4.3.8/opensearch_dashboards.yml) = 88affe6dab2e1299b6f8b5264e6dd9ea1aa42885f3aefb8822fe559f2b6bb5d5 +SIZE (wazuh-4.3.8/opensearch_dashboards.yml) = 806 diff --git a/security/wazuh-dashboard/files/pkg-message.in b/security/wazuh-dashboard/files/pkg-message.in new file mode 100644 index 000000000000..cd97b8d61a1c --- /dev/null +++ b/security/wazuh-dashboard/files/pkg-message.in @@ -0,0 +1,46 @@ +[ +{ type: install + message: <