graylog-plugin-glpi

Graylog plugin which add pipeline function into Graylog to request GLPI API.

Лицензия

Лицензия

Категории

Категории

Безопасность Graylog Библиотеки уровня приложения Logging
Группа

Группа

com.airbus-cyber-security.graylog
Идентификатор

Идентификатор

graylog-plugin-glpi
Последняя версия

Последняя версия

1.4.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

graylog-plugin-glpi
Graylog plugin which add pipeline function into Graylog to request GLPI API.
Ссылка на сайт

Ссылка на сайт

https://github.com/airbus-cyber/graylog-plugin-glpi
Организация-разработчик

Организация-разработчик

Graylog, Inc.
Система контроля версий

Система контроля версий

https://github.com/airbus-cyber/graylog-plugin-glpi

Скачать graylog-plugin-glpi

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.airbus-cyber-security.graylog/graylog-plugin-glpi/ -->
<dependency>
    <groupId>com.airbus-cyber-security.graylog</groupId>
    <artifactId>graylog-plugin-glpi</artifactId>
    <version>1.4.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.airbus-cyber-security.graylog/graylog-plugin-glpi/
implementation 'com.airbus-cyber-security.graylog:graylog-plugin-glpi:1.4.0'
// https://jarcasting.com/artifacts/com.airbus-cyber-security.graylog/graylog-plugin-glpi/
implementation ("com.airbus-cyber-security.graylog:graylog-plugin-glpi:1.4.0")
'com.airbus-cyber-security.graylog:graylog-plugin-glpi:jar:1.4.0'
<dependency org="com.airbus-cyber-security.graylog" name="graylog-plugin-glpi" rev="1.4.0">
  <artifact name="graylog-plugin-glpi" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.airbus-cyber-security.graylog', module='graylog-plugin-glpi', version='1.4.0')
)
libraryDependencies += "com.airbus-cyber-security.graylog" % "graylog-plugin-glpi" % "1.4.0"
[com.airbus-cyber-security.graylog/graylog-plugin-glpi "1.4.0"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.glassfish : javax.json jar 1.1.4
org.ehcache : ehcache jar 3.8.1

provided (4)

Идентификатор библиотеки Тип Версия
org.graylog2 : graylog2-server jar 3.2.2
org.graylog.plugins : graylog-plugin-pipeline-processor jar 1.1.1
com.google.auto.value : auto-value jar 1.6.2
com.google.auto.service : auto-service jar 1.0-rc4

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12
org.mockito : mockito-core jar 2.8.9

Модули Проекта

Данный проект не имеет модулей.

GLPI Connector Pipelines functions

Build Status License GitHub Release

Version Compatibility

Plugin Version Graylog Version
1.4.x 3.2.x
>= 1.3.x 3.0.x

Installation

Download the plugin and place the .jar file in your Graylog plugin directory. The plugin directory is the plugins/ folder relative from your graylog-server directory by default and can be configured in your graylog.conf file.

Restart graylog-server and you are done.

Configuration

In the configuration tab of Graylog, you will have to provide:

  • GLPI API URL
  • GLPI User API Token
  • GLPI APP Token
  • Cache Heap Size
  • Cache TTL

You may have to change the order into "Message Processors Configuration". Just switch between "Message Filter Chain" and "Pipeline Processor"

Usage

To search into the Computer category for the source field and display all fields, create a pipeline function like:

rule "GLPIComputer"
when
  has_field("source")
then
  let computer = GLPI(to_string($message.source), "Computer", "");
  let computer_fieds = key_value(computer);
  set_fields(computer_fieds, "Computer-");
end

If you want to do the same search but displaying only the field called OSName, create a pipeline function like:

rule "GLPIComputer"
when
  has_field("source")
then
  let computer = GLPI(to_string($message.source), "Computer", "OSName");
  let computer_fieds = key_value(computer);
  set_fields(computer_fieds, "Computer-");
end

Build

This project is using Maven 3 and requires Java 8 or higher.

  • Clone this repository.
  • Run mvn package to build a JAR file.
  • Optional: Run mvn jdeb:jdeb and mvn rpm:rpm to create a DEB and RPM package respectively.
  • Copy generated JAR file in target directory to your Graylog plugin directory.
  • Restart the Graylog.

License

This plugin is released under version 3.0 of the GNU General Public License.

com.airbus-cyber-security.graylog

Airbus CyberSecurity

Airbus CyberSecurity protects governments, military, organisations and critical national infrastructure from cyber threats.

Версии библиотеки

Версия
1.4.0
1.3.0
1.2.1
1.2.0
1.1.0
1.0.0