com.airbus_cyber_security.graylog.AlertWizardtMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog-plugin-alert-wizard Show documentation
Show all versions of graylog-plugin-alert-wizard Show documentation
Graylog ${project.artifactId} plugin.
The newest version!
/*
* Copyright (C) 2018 Airbus CyberSecurity (SAS)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* Server Side Public License for more details.
*
* You should have received a copy of the Server Side Public License
* along with this program. If not, see
* .
*/
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 AlertWizardtMetaData implements PluginMetaData {
private static final String PLUGIN_PROPERTIES = "com.airbus-cyber-security.graylog.graylog-plugin-alert-wizard/graylog-plugin.properties";
@Override
public String getUniqueId() {
return "com.airbus-cyber-security.graylog.AlertWizardPlugin";
}
@Override
public String getName() {
return "Alert Wizard";
}
@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 wizard facilitates the management of alert rules.";
}
@Override
public Version getRequiredVersion() {
return Version.fromPluginProperties(getClass(), PLUGIN_PROPERTIES, "graylog.version", Version.from(5, 0, 0));
}
@Override
public Set getRequiredCapabilities() {
return Collections.emptySet();
}
}