com.airbus_cyber_security.graylog.AggregationCountMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog-plugin-aggregation-count Show documentation
Show all versions of graylog-plugin-aggregation-count Show documentation
Graylog ${project.artifactId} plugin.
package com.airbus_cyber_security.graylog;
import org.graylog2.plugin.PluginMetaData;
import org.graylog2.plugin.ServerStatus;
import org.graylog2.plugin.Version;
import java.net.URI;
import java.util.Collections;
import java.util.Set;
/**
* Implement the PluginMetaData interface here.
*/
public class AggregationCountMetaData implements PluginMetaData {
private static final String PLUGIN_PROPERTIES = "com.airbus-cyber-security.graylog.graylog-plugin-aggregation-count/graylog-plugin.properties";
@Override
public String getUniqueId() {
return "com.airbus-cyber-security.graylog.AggregationCountPlugin";
}
@Override
public String getName() {
return "Aggregation Count Alert Condition";
}
@Override
public String getAuthor() {
return "Airbus CyberSecurity";
}
@Override
public URI getURL() {
return URI.create("https://www.airbus-cyber-security.com");
}
@Override
public Version getVersion() {
return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "version", Version.from(0, 0, 1, "unknown"));
}
@Override
public String getDescription() {
return "This condition performs aggregation and is triggered when there are more or less messages than the threshold.";
}
@Override
public Version getRequiredVersion() {
return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(3, 2, 0));
}
@Override
public Set getRequiredCapabilities() {
return Collections.emptySet();
}
}