You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spot.apache.org by ta...@apache.org on 2018/09/20 21:11:40 UTC

[2/4] incubator-spot git commit: description for DNS record filter methods

description for DNS record filter methods


Project: http://git-wip-us.apache.org/repos/asf/incubator-spot/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-spot/commit/a142dadf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-spot/tree/a142dadf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-spot/diff/a142dadf

Branch: refs/heads/master
Commit: a142dadfd5dbb3f50aba413886c35f7309c3e944
Parents: b98b88b
Author: tpltnt <tp...@dropcut.net>
Authored: Fri Apr 6 14:23:11 2018 +0200
Committer: tpltnt <tp...@dropcut.net>
Committed: Fri Apr 6 14:23:37 2018 +0200

----------------------------------------------------------------------
 .../org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-spot/blob/a142dadf/spot-ml/src/main/scala/org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala
----------------------------------------------------------------------
diff --git a/spot-ml/src/main/scala/org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala b/spot-ml/src/main/scala/org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala
index 17cb52d..54e97ce 100644
--- a/spot-ml/src/main/scala/org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala
+++ b/spot-ml/src/main/scala/org/apache/spot/dns/DNSSuspiciousConnectsAnalysis.scala
@@ -106,9 +106,11 @@ object DNSSuspiciousConnectsAnalysis {
 
 
   /**
-    *
+    * Return all DNS records with valid values.
+    * 
     * @param inputDNSRecords raw DNS records.
     * @return
+    * @see filterInvalidRecords(DataFrame)
     */
   def filterRecords(inputDNSRecords: DataFrame): DataFrame = {
 
@@ -135,9 +137,11 @@ object DNSSuspiciousConnectsAnalysis {
   }
 
   /**
+    * Return all DNS records with invalid values.
     *
     * @param inputDNSRecords raw DNS records.
     * @return
+    * @see filterRecords(DataFrame)
     */
   def filterInvalidRecords(inputDNSRecords: DataFrame): DataFrame = {