Skip to content

Commit

Permalink
Audit 2.0 Feature
Browse files Browse the repository at this point in the history
    In this pull request we are working to add the `audit-2.0` feature. This feature is very similar to audit-1.0 feature the main difference is that it doesn't involve rest handler features. More information about this feature can be found here:

    OpenLiberty#18499
  • Loading branch information
wrodrig committed May 1, 2024
1 parent 0877a4a commit 78e0a75
Show file tree
Hide file tree
Showing 63 changed files with 1,464 additions and 86 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props

symbolicName = io.openliberty.audit2.0.restHandler
visibility = private

IBM-Provision-Capability:\
osgi.identity; filter:="(&(type=osgi.subsystem.feature)(osgi.identity=io.openliberty.restHandler.internal-1.0))",\
osgi.identity; filter:="(&(type=osgi.subsystem.feature)(osgi.identity=com.ibm.websphere.appserver.audit-2.0))"
IBM-Install-Policy: when-satisfied

-bundles=io.openliberty.request.probe.audit.rest
WLP-Activation-Type: parallel
kind=noship
edition=full
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=com.ibm.websphere.appserver.auditCollector-1.0
singleton=true
WLP-DisableAllFeatures-OnConflict: false
visibility=protected
IBM-API-Package: com.ibm.websphere.security.audit; type="ibm-api"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=com.ibm.websphere.appserver.auditCollector-2.0
singleton=true
visibility=protected
IBM-API-Package: com.ibm.websphere.security.audit; type="ibm-api"
IBM-SPI-Package: com.ibm.wsspi.security.audit; type="ibm-spi"
IBM-Process-Types: server
-features=com.ibm.websphere.appserver.wimcore-1.0, \
com.ibm.websphere.appserver.servlet-3.0; ibm.tolerates:="3.1,4.0,5.0,6.0,6.1", \
io.openliberty.auditCollector1.0.internal.ee-6.0; ibm.tolerates:="9.0"

kind=noship
edition=full

Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
symbolicName=com.ibm.websphere.appserver.audit-1.0
WLP-DisableAllFeatures-OnConflict: false
visibility=public
singleton=true
IBM-ShortName: audit-1.0
Subsystem-Name: Audit 1.0
-features=com.ibm.websphere.appserver.servlet-3.0; ibm.tolerates:="3.1,4.0,5.0,6.0,6.1", \
io.openliberty.audit1.0.internal.ee-6.0; ibm.tolerates:="9.0, 10.0, 11.0", \
com.ibm.websphere.appserver.auditCollector-1.0
-bundles=com.ibm.ws.security.audit.utils, \
com.ibm.ws.security.audit.file
com.ibm.ws.security.audit.file, \
io.openliberty.request.probe.audit.rest
kind=ga
edition=core
WLP-InstantOn-Enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-include= ~${workspace}/cnf/resources/bnd/feature.props
symbolicName=com.ibm.websphere.appserver.audit-2.0
visibility=public
singleton=true
IBM-ShortName: audit-2.0
Subsystem-Name: Audit 2.0
-features=com.ibm.websphere.appserver.servlet-3.0; ibm.tolerates:="3.1,4.0,5.0,6.0,6.1", \
io.openliberty.audit1.0.internal.ee-6.0; ibm.tolerates:="9.0, 10.0, 11.0", \
com.ibm.websphere.appserver.auditCollector-2.0
-bundles=com.ibm.ws.security.audit.utils, \
com.ibm.ws.security.audit.file
kind=noship
edition=full
WLP-InstantOn-Enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=The Audit feature is used to report and track auditable events to ensure the integrity \
of your system.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Funkce auditu se pou\u017e\u00edv\u00e1 k hl\u00e1\u0161en\u00ed a sledov\u00e1n\u00ed auditovateln\u00fdch ud\u00e1lost\u00ed v z\u00e1jmu zaji\u0161t\u011bn\u00ed integrity va\u0161eho syst\u00e9mu.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Mit dem Pr\u00fcffeature k\u00f6nnen pr\u00fcfbare Ereignisse gemeldet und \u00fcberwacht werden, um die Integrit\u00e4t des Systems sicherzustellen.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=La caracter\u00edstica de auditor\u00eda se utiliza para notificar y realizar un seguimiento de los sucesos auditables para garantizar la integridad del sistema.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=La fonction Audit est utilis\u00e9e pour g\u00e9n\u00e9rer des rapports sur les \u00e9v\u00e9nements auditables et effectuer leur suivi afin de garantir l'int\u00e9grit\u00e9 de votre syst\u00e8me.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=A fel\u00fclvizsg\u00e1lati szolg\u00e1ltat\u00e1s a vizsg\u00e1lhat\u00f3 esem\u00e9nyek nyomon k\u00f6vet\u00e9s\u00e9vel \u00e9s jelent\u00e9sek k\u00e9sz\u00edt\u00e9s\u00e9vel biztos\u00edtja a rendszer integrit\u00e1s\u00e1t.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=La funzione Verifica viene utilizzata per notificare e tracciare gli eventi verificabili per garantire l'integrit\u00e0 del sistema.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Audit \u30d5\u30a3\u30fc\u30c1\u30e3\u30fc\u306f\u3001\u76e3\u67fb\u53ef\u80fd\u30a4\u30d9\u30f3\u30c8\u306e\u5831\u544a\u3068\u8ffd\u8de1\u3092\u884c\u3063\u3066\u30b7\u30b9\u30c6\u30e0\u306e\u4fdd\u5168\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=\uac10\uc0ac \uae30\ub2a5\uc740 \uc2dc\uc2a4\ud15c\uc758 \ubb34\uacb0\uc131\uc744 \uc720\uc9c0\ud560 \uc218 \uc788\ub3c4\ub85d \uac10\uc0ac \uac00\ub2a5\ud55c \uc774\ubca4\ud2b8\ub97c \ubcf4\uace0\ud558\uace0 \ucd94\uc801\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ub429\ub2c8\ub2e4.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Sk\u0142adnik Kontrola jest u\u017cywany do raportowania i \u015bledzenia zdarze\u0144 podlegaj\u0105cych kontroli w celu zapewnienia integralno\u015bci systemu.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=O recurso de Auditoria \u00e9 usado para relatar e controlar eventos audit\u00e1veis, assegurando a integridade do sistema.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Caracteristica Auditare este utilizat\u0103 pentru a raporta \u015fi urm\u0103ri evenimente care pot fi auditate pentru a asigura integritatea sistemului dumneavoastr\u0103.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=\u0424\u0443\u043d\u043a\u0446\u0438\u044f \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0434\u043b\u044f \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0438 \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0442\u0447\u0435\u0442\u043e\u0432 \u043e\u0431 \u044d\u0442\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u044f\u0445.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=Audit \u529f\u80fd\u90e8\u4ef6\u7528\u4e8e\u62a5\u544a\u548c\u8ddf\u8e2a\u53ef\u5ba1\u8ba1\u4e8b\u4ef6\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u7684\u5b8c\u6574\u6027\u3002
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#/*******************************************************************************
# * Copyright (c) 2018, 2020 IBM Corporation and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License 2.0
# * which accompanies this distribution, and is available at
# * http://www.eclipse.org/legal/epl-2.0/
# *
# * SPDX-License-Identifier: EPL-2.0
# *
# * Contributors:
# * IBM Corporation - initial API and implementation
# *******************************************************************************/
# -------------------------------------------------------------------------------------------------
#
#ISMESSAGEFILE FALSE
#NLS_ENCODING=UNICODE
#NLS_MESSAGEFORMAT_NONE
#

description=\u300c\u5be9\u6838\u300d\u7279\u6027\u7528\u4f86\u5831\u544a\u53ca\u8ffd\u8e64\u53ef\u5be9\u6838\u7684\u4e8b\u4ef6\uff0c\u4ee5\u78ba\u4fdd\u60a8\u7cfb\u7d71\u7684\u5b8c\u6574\u6027\u3002
Loading

0 comments on commit 78e0a75

Please sign in to comment.