Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSOC/opensoc-streaming
/ functions
Functions
1,123 in github.com/OpenSOC/opensoc-streaming
⨍
Functions
1,123
◇
Types & classes
222
↓ 184 callers
Method
toString
Returns the image.
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/Token.java:100
↓ 175 callers
Method
add
(String s)
OpenSOC-Common/src/main/java/com/opensoc/tldextractor/BasicTldExtractor.java:56
↓ 144 callers
Method
getString
(DataInputStream data)
OpenSOC-Common/src/main/java/com/opensoc/json/serialization/JSONDecoderHelper.java:33
↓ 68 callers
Method
close
Close the table
OpenSOC-Common/src/main/java/com/opensoc/hbase/HTableConnector.java:99
↓ 49 callers
Method
parse
(byte[] raw_message)
OpenSOC-Common/src/main/java/com/opensoc/parser/interfaces/MessageParser.java:9
↓ 37 callers
Method
toBytes
(JSONObject input)
OpenSOC-Common/src/main/java/com/opensoc/json/serialization/JSONKafkaSerializer.java:175
↓ 35 callers
Method
remove
Remove from the map the unwilling items. @param map to clean @return nb of deleted item
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCGarbage.java:79
↓ 29 callers
Method
create
Create a {@code Grok} instance with the given patterns file and a {@code Grok} pattern. @param grokPatternPath Path to the pattern file @param grokEx
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCGrok.java:85
↓ 27 callers
Method
getConfiguration
Loads configuration resources @return Configuration
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:44
↓ 27 callers
Method
getConfiguration
Loads configuration resources @return Configuration
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:44
↓ 26 callers
Method
toString
()
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapsResponse.java:147
↓ 25 callers
Method
getBoolean
(DataInputStream data)
OpenSOC-Common/src/main/java/com/opensoc/json/serialization/JSONDecoderHelper.java:52
↓ 24 callers
Method
toString
()
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/PcapsResponse.java:147
↓ 21 callers
Method
getMode
Returns the mode. @return the mode.
OpenSOC-Common/src/main/java/com/opensoc/test/AbstractSchemaTest.java:162
↓ 21 callers
Method
skipTests
Skip Tests
OpenSOC-Common/src/main/java/com/opensoc/test/AbstractSchemaTest.java:149
↓ 20 callers
Method
getInstance
Always returns the singleton instance. @return IPcapGetter singleton instance @throws IOException Signals that an I/O exception has occurre
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapGetterHBaseImpl.java:169
↓ 19 callers
Method
convertToDataCreationTimeUnit
Converts the given time to the 'hbase' data creation time unit. @param inputTime the input time @return the long
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapHelper.java:47
↓ 19 callers
Method
jjCheckNAddTwoStates
(int state1, int state2)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParserTokenManager.java:653
↓ 18 callers
Method
getDataCreationTimeUnit
Returns the 'hbase' data creation time unit by reading 'hbase.table.data.time.unit' property in 'hbase-config' properties file; If none is mentioned i
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapHelper.java:68
↓ 18 callers
Method
getKey
()
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCConverter.java:85
↓ 17 callers
Method
compile
Compile the {@code Grok} pattern to named regex pattern. @param pattern : Grok pattern (ex: %{IP}) @throws Exception
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCGrok.java:287
↓ 16 callers
Method
printConfigOptions
(PropertiesConfiguration config, String path_fragment)
OpenSOC-Common/src/main/java/com/opensoc/helpers/topology/SettingsLoader.java:105
↓ 15 callers
Method
getPacketHeader
Gets the packet header. @return the packet header
OpenSOC-Common/src/main/java/com/opensoc/pcap/PacketInfo.java:171
↓ 15 callers
Method
jj_consume_token
(int kind)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParser.java:463
↓ 15 callers
Method
registerCounter
(String countername)
OpenSOC-Common/src/main/java/com/opensoc/metrics/MetricReporter.java:42
↓ 13 callers
Method
withOutputFieldName
@param OutputFieldName - output name of the tuple coming out of this bolt @return - instance of this bolt
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/TelemetryAlertsBolt.java:80
↓ 12 callers
Method
getInstance
Always returns the singleton instance. @return IPcapGetter singleton instance @throws IOException Signals that an I/O exception has occurre
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/PcapGetterHBaseImpl.java:169
↓ 12 callers
Method
jj_scan_token
(int kind)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParser.java:491
↓ 11 callers
Method
jjStartNfa_0
(int pos, long active0)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParserTokenManager.java:75
↓ 10 callers
Method
getTable
@return the table
OpenSOC-Common/src/main/java/com/opensoc/hbase/HTableConnector.java:92
↓ 10 callers
Method
getValue
()
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCConverter.java:93
↓ 10 callers
Method
jjAddStates
(int start, int end)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParserTokenManager.java:647
↓ 10 callers
Method
readChar
Read a character.
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/JavaCharStream.java:256
↓ 9 callers
Method
fail
(Object id)
OpenSOC-Topologies/src/main/java/com/opensoc/test/spouts/PcapSimulatorSpout.java:149
↓ 9 callers
Method
getNextToken
Get the next Token.
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParser.java:514
↓ 9 callers
Method
getValue
An optional attribute value of the Token. Tokens which are not used as syntactic sugar will often contain meaningful values that will be used later on
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/Token.java:71
↓ 9 callers
Method
sort
Sort the potentially unsorted byte array according to the timestamp in the packet header @param unsortedBytes a byte array of a pcap file @return b
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapMerger.java:130
↓ 9 callers
Method
withMetricConfiguration
@param config A class for generating custom metrics into graphite @return Instance of this class
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/TelemetryAlertsBolt.java:115
↓ 8 callers
Method
ack
(Object id)
OpenSOC-Topologies/src/main/java/com/opensoc/test/spouts/PcapSimulatorSpout.java:145
↓ 8 callers
Method
addColumn
Add column family and column qualifier to be extracted from tuple @param columnFamily The column family name @param columnQualifier
OpenSOC-Common/src/main/java/com/opensoc/hbase/TupleTableConfig.java:74
↓ 8 callers
Method
checkRange
(Set<String> CIDR_networks, String ip)
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/adapters/RangeChecker.java:9
↓ 8 callers
Method
getConfig
Returns the config. @return the config.
OpenSOC-Common/src/main/java/com/opensoc/test/AbstractConfigTest.java:252
↓ 8 callers
Method
help
()
OpenSOC-Common/src/main/java/com/opensoc/helpers/topology/Cli.java:175
↓ 8 callers
Method
initTopology
(String args[], String subdir)
OpenSOC-Topologies/src/main/java/com/opensoc/topology/runner/TopologyRunner.java:101
↓ 8 callers
Method
withFilename
(String filename)
OpenSOC-Topologies/src/main/java/com/opensoc/test/spouts/GenericInternalTestSpout.java:53
↓ 8 callers
Method
withRepeating
(boolean repeating)
OpenSOC-Topologies/src/main/java/com/opensoc/test/spouts/GenericInternalTestSpout.java:64
↓ 7 callers
Method
backup
Retreat.
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/JavaCharStream.java:388
↓ 7 callers
Method
generateAlertId
(String source_ip, String dst_ip, int alert_type)
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/adapters/HbaseWhiteAndBlacklistAdapter.java:187
↓ 7 callers
Method
generateErrorMessage
(String message, Exception e)
OpenSOC-Common/src/main/java/com/opensoc/helpers/topology/ErrorGenerator.java:11
↓ 7 callers
Method
getObject
(DataInputStream data)
OpenSOC-Common/src/main/java/com/opensoc/json/serialization/JSONDecoderHelper.java:86
↓ 7 callers
Method
initialize
()
OpenSOC-Common/src/main/java/com/opensoc/alerts/interfaces/AlertsAdapter.java:9
↓ 7 callers
Method
initializeAdapter
()
OpenSOC-Common/src/main/java/com/opensoc/enrichment/interfaces/EnrichmentAdapter.java:25
↓ 7 callers
Method
jjCanMove_0
(int hiByte, int i1, int i2, long l1, long l2)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParserTokenManager.java:472
↓ 7 callers
Method
jjStopStringLiteralDfa_0
(int pos, long active0)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParserTokenManager.java:12
↓ 7 callers
Method
load
(String key)
OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/common/AbstractEnrichmentBolt.java:100
↓ 7 callers
Method
readTestDataFromFile
(String test_data_url)
OpenSOC-Common/src/main/java/com/opensoc/test/AbstractConfigTest.java:170
↓ 7 callers
Method
withMessageFilter
@param filter A class for filtering/dropping incomming telemetry messages @return Instance of this class
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/TelemetryParserBolt.java:96
↓ 7 callers
Method
withMessageParser
@param parser The parser class for parsing the incoming raw message byte stream @return Instance of this class
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/TelemetryParserBolt.java:74
↓ 7 callers
Method
withMetricConfig
@param config A class for generating custom metrics into graphite @return Instance of this class
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/TelemetryParserBolt.java:107
↓ 6 callers
Method
ReadByte
()
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/JavaCharStream.java:167
↓ 6 callers
Method
convertIpv4IpToHex
Convert ipv4 ip to hex. @param ipAddress the ip address @return the string
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapUtils.java:183
↓ 6 callers
Method
convertToDataCreationTimeUnit
Converts the given time to the 'hbase' data creation time unit. @param inputTime the input time @return the long
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/PcapHelper.java:47
↓ 6 callers
Method
enrich
(String metadata)
OpenSOC-Common/src/main/java/com/opensoc/enrichment/interfaces/EnrichmentAdapter.java:24
↓ 6 callers
Method
getDefaultResultSize
Returns the configured default result size in bytes. @return long
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:93
↓ 6 callers
Method
getDefaultResultSize
Returns the configured default result size in bytes. @return long
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:93
↓ 6 callers
Method
getInstance
Always returns the singleton instance. @return IPcapScanner singleton instance @throws IOException Signals that an I/O exception has occurr
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapScannerHBaseImpl.java:239
↓ 6 callers
Method
getKey
Gets the key. @return the key
OpenSOC-Common/src/main/java/com/opensoc/pcap/PacketInfo.java:221
↓ 6 callers
Method
getResultSizeUnit
Gets the result size unit. @return the result size unit
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:126
↓ 6 callers
Method
getSessionKey
Gets the session key. @param srcIp the src ip @param dstIp the dst ip @param protocol the protocol @param srcPort
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapUtils.java:210
↓ 6 callers
Method
jj_save
(int index, int xla)
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/ISEParser.java:628
↓ 6 callers
Method
mutate
(JSONObject json, String oldKey, String newKey)
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/BasicLogstashParser.java:50
↓ 6 callers
Method
withEnrichmentTag
@param EnrichmentTag Defines what tag the enrichment will be tagged with in the telemetry message @return Instance of this class
OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/common/GenericEnrichmentBolt.java:96
↓ 6 callers
Method
withMaxCacheSize
@param MAX_CACHE_SIZE_OBJECTS_NUM Maximum size of cache before flushing @return Instance of this class
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/TelemetryAlertsBolt.java:127
↓ 6 callers
Method
withMaxTimeRetain
@param MAX_TIME_RETAIN_MINUTES Maximum time to retain cached entry before expiring @return Instance of this class
OpenSOC-Alerts/src/main/java/com/opensoc/alerts/TelemetryAlertsBolt.java:138
↓ 6 callers
Method
write
Method write. @param packet PcapPacket @throws IOException @see org.krakenapps.pcap.PcapOutputStream#write(PcapPacket) @see org
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapByteOutputStream.java:176
↓ 5 callers
Method
convertToBytes
Convert to bytes. @param value the value @param unit the unit @return the long
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:241
↓ 5 callers
Method
convertToBytes
Convert to bytes. @param value the value @param unit the unit @return the long
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:241
↓ 5 callers
Method
createGetRequest
Creates the get request. @param key the key @param startTime the start time @param endTime the end time @return the gets t
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapGetterHBaseImpl.java:600
↓ 5 callers
Method
getColumnFamily
Gets the column family. @return the column family
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:177
↓ 5 callers
Method
getColumnFamily
Gets the column family. @return the column family
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:177
↓ 5 callers
Method
getInstance
Singleton. @return instance of Match
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCMatch.java:87
↓ 5 callers
Method
getJSON
(Configuration config)
OpenSOC-Common/src/main/java/com/opensoc/json/serialization/JSONEncoderHelper.java:72
↓ 5 callers
Method
getMessage
You can also modify the body of this method to customize your error messages. For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not
OpenSOC-Common/src/main/java/com/opensoc/ise/parser/TokenMgrError.java:124
↓ 5 callers
Method
getPath
()
OpenSOC-Common/src/main/java/com/opensoc/helpers/topology/Cli.java:31
↓ 5 callers
Method
getResponseSize
Gets the response size. @return the response size
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapsResponse.java:120
↓ 5 callers
Method
getResponseSize
Gets the response size. @return the response size
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/PcapsResponse.java:120
↓ 5 callers
Method
getResultSizeUnit
Gets the result size unit. @return the result size unit
OpenSOC-DataServices/src/main/java/com/opensoc/pcapservice/ConfigurationUtil.java:126
↓ 5 callers
Method
getTestPcapBytes
Gets the test pcap bytes. @return the test pcap bytes @throws IOException Signals that an I/O exception has occurred.
OpenSOC-Pcap_Service/src/test/java/com/opensoc/pcapservice/PcapGetterHBaseImplTest.java:182
↓ 5 callers
Method
getUnprocessedSublistOfKeys
<p> Returns the sublist starting from the element after the lastRowKey to the last element in the list; if the 'lastRowKey' is not matched the complet
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapGetterHBaseImpl.java:242
↓ 5 callers
Method
intToByteArray
Int to byte array. @param number the number @return the byte[]
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapByteOutputStream.java:228
↓ 5 callers
Method
match
Match the given <tt>text</tt> with the named regex {@code Grok} will extract data from the string and get an extence of {@link Match}. @param text :
OpenSOC-MessageParsers/src/main/java/com/opensoc/parsing/parsers/OpenSOCGrok.java:264
↓ 5 callers
Method
merge
(ByteArrayOutputStream baos, List<byte[]> pcaps)
OpenSOC-Common/src/main/java/com/opensoc/pcap/PcapMerger.java:70
↓ 5 callers
Method
printComponentStream
(List<String> messageComponents)
OpenSOC-Topologies/src/main/java/com/opensoc/topology/runner/TopologyRunner.java:422
↓ 5 callers
Method
reverseKey
Builds the reverseKey to fetch the pcaps in the reverse traffic (destination to source). @param key indicates hbase rowKey (partial or full)
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapHelper.java:110
↓ 5 callers
Method
scanPcaps
Scan pcaps. @param pcaps the pcaps @param table the table @param scan the scan @param cf the cf @param cq
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapScannerHBaseImpl.java:183
↓ 5 callers
Method
setMode
Sets the mode. @param mode the mode.
OpenSOC-Common/src/main/java/com/opensoc/test/AbstractSchemaTest.java:171
↓ 5 callers
Method
sortKeysByAscOrder
Adds reverse keys to the list if the flag 'includeReverseTraffic' is set to true; removes duplicates and sorts the list by ascending order;. @param k
OpenSOC-Pcap_Service/src/main/java/com/opensoc/pcapservice/PcapGetterHBaseImpl.java:196
↓ 5 callers
Method
start
(Map config)
OpenSOC-Common/src/main/java/com/opensoc/metrics/MetricReporter.java:46
↓ 5 callers
Method
withAdapter
@param adapter Adapter for doing the enrichment @return Instance of this class
OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/common/GenericEnrichmentBolt.java:73
↓ 5 callers
Method
withKeys
@param jsonKeys Keys in the telemetry message that are to be enriched by this bolt @return Instance of this class
OpenSOC-EnrichmentAdapters/src/main/java/com/opensoc/enrichment/common/GenericEnrichmentBolt.java:130
next →
1–100 of 1,123, ranked by callers