Skip to content

Commit

Permalink
Integrate audit log (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundoa authored and joschi committed Aug 23, 2016
1 parent 2df600b commit ebc784e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.graylog.plugins.map.search.MapDataSearch;
import org.graylog.plugins.map.search.MapDataSearchRequest;
import org.graylog.plugins.map.search.MapDataSearchResult;
import org.graylog2.audit.jersey.NoAuditEvent;
import org.graylog2.decorators.DecoratorProcessor;
import org.graylog2.indexer.searches.Searches;
import org.graylog2.plugin.cluster.ClusterConfigService;
Expand Down Expand Up @@ -63,6 +64,7 @@ public MapDataResource(MapDataSearch search, Searches searches, ClusterConfigSer
@ApiOperation(value = "Get map data")
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
@NoAuditEvent("only used to fetch map data, no changes made in the system")
public MapDataSearchResult mapData(@ApiParam(name = "JSON body", required = true) MapDataSearchRequest request) {
final String filter = "streams:" + request.streamId();

Expand Down

0 comments on commit ebc784e

Please sign in to comment.