Thanks to the cadence and continuity of AIA and HMI observations, SDO offers unique data for detecting, characterizing, and tracking solar filaments, until their eruptions, which are often associated with coronal mass ejections. Because of the requirement of short latency when aiming at space weather applications, and because of the important data volume, only an automated detection can be worked out. We present the code "FILaments, Eruptions, and Activations detected from Space" (FILEAS) that we have developed for the automated detection and tracking of filaments. Detections are based on the analysis of AIA 30.4 nm He II images and on the magnetic polarity inversion lines derived from HMI. Following the tracking of filaments as they rotate with the Sun, filament characteristics are computed and a database of filaments parameters is built. We present the algorithms and performances of the code, and we compare its results with the filaments detected in Halpha and already present in the Heliophysics Events Knowledgebase. We finally discuss the possibility of using such a code to detect eruptions in real time.